Make sure you have the anaconda package installed on your system. Then follow these steps- Step1- Open .zshrc file % vim ~/.zshrc Step2- Just add source ~/.bash_profile into .zshrc file Step3- save and exit terminal Step4- Run the following command to implement changes % source ~/.bashrc % source ~/.zshrc