% 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 device.
- conda has been installed but the path is not set.
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 in the zsh profile file:
- Open Zsh profile file: nano ~/.zshrc
- Add the line at the bottom of the file:
export PATH ="/Users/c2c/anaconda/bin:$PATH"
- Save the file.
- Apply the changes: source ~/.zshrc
You can check if the changes got done properly by running the command conda --version if you do not get the error again and you see the version displayed that you are good to go!
More Posts related to zsh,
- Resolve - zsh: command not found: code
- zsh: command not found [fix] macOS
- How to fix: zsh: command not found: jupyter
- How to make ZSH as the default shell on Ubuntu
- How to Add New Entry to ZSH PATH
- Add Syntax Highlighting in Zsh Shell
- Fix: zsh: command not found: npm after installation (Node.js)
- Fix: zsh: command not found: mysql (Mac XAMPP)
- Ubuntu zsh: command not found: nano
- Fix: ZSH: cd: too many arguments (macOS)
- Fix - cd: no such file or directory: .zshrc
- How to reload zsh shell profile file?
- Fix zsh: permission denied: script.sh
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- macOS Ventura 13: The default interactive shell is now zsh
- How to Add Autocomplete in Mac Terminal
- Fix - zsh: command not found: pip
- ZSH: exec format error eclipse M1/M2 Mac
- Setting up Zsh Syntax Highlighting
- How to reload Zsh .zshrc Profile
- zsh: command not found: brew [fix]
- How to clear ZSH history of commands executed on Mac Terminal
- Fix - zsh: command not found: conda [macOS]
- Fix: cd: string not in pwd
More Posts:
- How to Copy files from Docker Container to Host System - Docker
- Java Get Current Date for a Specific Time Zone - Java
- [fix] Docker: Alpine Linux - /bin/sh: bash: not found - Docker
- How to install Postman natively on a Mac - HowTos
- How to create a circular Image using pure CSS Code - CSS
- How to make macOS Terminal window Transparent (or Opaque) - MacOS
- [Fix] MySQL No database selected - ERROR 1046 (3D000) - MySQL
- How to Install Windows Subsystem for Linux (WSL) on Windows 11 (22H2) - Windows-11