Fix - zsh: command not found: conda [macOS]


% conda
zsh: command not found: conda

If you are getting the above error message on macOS Terminal after you try conda command, there found the below reasons,

  • conda package has not been installed on your Mac device.
  • conda has been installed but the path is not set.
zsh: command not found: conda
Solutions:

Download and install conda from its website for macOS:

Anaconda: https://www.anaconda.com/download/
Miniconda: https://conda.io/miniconda.html

This should add the environment path to the zshrc profile

If conda is already installed make sure you add its path to the environment variable:

export PATH ="/Users/c2c/anaconda/bin:$PATH"


Have Questions? Post them here!



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.