brew install anaconda --cask
Note: if you have up to date terminal client 'zsh', make changes in ~/.zshrc
file, otherwise it gonna be named as ~/.bashrc
.
nano ~/.zshrc
And add following:
Note: --cask
flag installs modules into /usr/local
directory. If you installed anaconda into another directory, just change root path down below.
export PATH="/usr/local/anaconda3/bin:$PATH"
To execute changes:
source ~/.zshrc
brew install docker --cask
docker run hello-world