Anaconda prompt is similar to a terminal or command prompt (cmd). It refers to a black screen used to type in the commands by the user.
Note: You can download conda using a GUI installer.
Let’s look at series of steps to install Anaconda using the terminal in macOS.
Make sure you have installed a command-line version of the macOS installer for your system.
Instal Python version 3.7:
bash ~/Downloads/Anaconda3-2020.02-MacOSX-x86_64.sh
Write
bash
as part of your command even if you are not using a Bash shell.
~/Downloads
represents your actual path where the file was downloaded, and Anaconda3-2020.02-MacOSX-x86_64.sh
is the name of the file you downloaded. You can replace them with your directory and the version you want to download.
The installer will show the following prompt:
To continue the installation process, please review the license agreement.
Click Enter
to view the license terms and enter Yes
to continue.
The installer may prompt you to press Enter
to confirm the location of where anaconda needs to be installed. The following will then be displayed:
PREFIX=/home/<user>/anaconda<2 or 3>
This may take a few minutes.
The installer will show the following message:
Do you wish the installer to initialize Anaconda3 by running conda init.
Type yes
to continue. This will ensure that conda will successfully modify the shell. Even if you type No
, you can initialize Anaconda3 by running source <path to conda>/bin/activate
and then running conda init
.
If a user is using zsh
, then run the following command in path/bin/
:
conda init zsh
The installer will display the following message:
Thank you for installing Anaconda!
Free Resources