https://docs.anaconda.com/miniconda/

curl -O <https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh>
sudo bash Miniconda3-latest-Linux-x86_64.sh -b -u -p  /nas/miniconda3
rm -rf Miniconda3-latest-Linux-x86_64.sh

After installing, initialize your newly-installed Miniconda

/path/bin/conda init bash