(instructions taken from Miniconda documentation)
Launch a new shell and download the latest 64-bit version of the installer:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
Run the installer in batch mode:
bash Miniconda3-latest-Linux-x86_64.sh -b
Initialize your newly-installed Miniconda.
~/miniconda3/bin/conda init bash
Close and re-open your current shell.
conda config --set auto_activate_base false