How to install Anaconda3 via Command-Line?

Honey
2 min readJan 19, 2023

Installing Anaconda3 on Mac OS via command-line

  1. In your browser, download the command-line version of macOS-installer

2. Open your terminal and run the following commands,

  • The path where the command-line package is downloaded has to be given, in my case, I have downloaded it in Downloads Folder,
sha256sum ~/Downloads/Anaconda3-2022.10-MacOSX-x86_64.sh
bash ~/Downloads/Anaconda3-2022.10-MacOSX-x86_64.sh

3. Select the appropriate options for the installation, like type yes for license agreement, select appropriate installation directory, etc. The instructions will be given, proceed accordingly.

4. After the installation of the package is done, a message like the one below will be shown,

"Thank you for installing Anaconda<2/3>"

5. Close the current terminal and Open a new terminal.

A (base) will be seen. This means, the conda is active.

6. To deactivate the environment, type in the terminal,

conda deactivate

7. To activate the conda environment, type in

conda activate

8. The installation is done!

  • To test your installation and list all the installed packages, make sure the conda is active (refer step 7), and type in the command conda-list , it will display the list of the packages installed,
conda list
conda-list command used to list all the packages installed
  • To open the Anaconda-navigator, type the command
anaconda-navigator

It should open up the window,

Done with the installation and verifiation! It is all ready to be used now!

Useful Links —

To check the features and the tools included, click here.

--

--

Honey

Tech or non-tech 'll post all my crazy cool stuff here!