This repository proposes a convenient script for downloading and installing Miniconda on MacOs.
Download and install the latest version of Miniconda:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p ~/miniconda
Clean up the installation script
rm ~/miniconda.sh
export PATH=~/miniconda/bin:$PATH
Initialize conda for bash:
Initialize conda for bash
cd ~/miniconda/bin/
./conda init bash