Altough I cannot test it on a Mac, (I have a Linux Zsh installed) this should work for you as well: Just execute
/(your conda installation path)/bin/conda init zsh
and restart your zsh shell. The init command will change your ~/.zshrc file accordingly, setting your PATH correctly and slightly change the PS1 (which is was most answers here do manually…).
I had a similar issue.
I checked in my
.bash_profile dot files in order to find any PATH information that I could copy over into my
.zshrc file. Sure enough:
# added by Miniconda3 4.2.12 installer export PATH="/Users/username/miniconda3/bin:$PATH"
source ~/.zshrc with those lines added, I could fire up my jupyter notebook server.
Since conda 4.4.0 (released 2017-12-20), the recommended way to add conda to your PATH has changed. Instead of the approach described in Jonathan’s answer, this should be done using the
conda.sh script in the
etc/profile.d/ folder of your conda installation. After that you can activate the base environment. More information on why this is the case can be found in the conda changelog.
I needed to add the following lines to my
. ~/miniconda3/etc/profile.d/conda.sh conda activate base
This assumes that (mini)conda was installed with default parameters, i.e. into the home folder.