Run the following command on your terminal to install Homebrew. Homebrew is a package manager for Macs and is used to install useful development tools and software.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run
brew install --cask anaconda
to install Anaconda - Run
echo 'export PATH=/usr/local/anaconda3/bin:$PATH' >> ~/.zshrc
from your terminal - Also run
echo 'export PATH=/opt/homebrew/anaconda3/bin:$PATH' >> ~/.zshrc
from your terminal - Run
source ~/.zshrc
from your terminal - Type
conda
to ensure that anaconda linked correctly.
echo 'export PATH=/usr/local/anaconda3/bin:$PATH' >> ~/.bash_profile
echo 'export PATH=/opt/homebrew/anaconda3/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
If you installed Anaconda for only this user, run the following:
echo 'export PATH=/Users/$USER/anaconda3/bin:$PATH' >> ~/.zshrc
echo 'export PATH=/opt/homebrew/anaconda3/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
If you installed Anaconda for all users on your computer, then run the following:
echo 'export PATH=/opt/anaconda3/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
While command
uname -m
returnsarm64
,brew install --cask anaconda
still downloadsx84_64
version of Conda instead of arm64 version. Anyone running into this issue?