Use the following commands to download and install Anaconda and create a virtual environment with an example setup of needed packages.

MacOS:

# download Anaconda
curl -O <https://repo.anaconda.com/archive/Anaconda3-2022.10-MacOSX-x86_64.pkg>

# install Anaconda
sudo installer -pkg Anaconda3-2022.10-MacOSX-x86_64.pkg -target ~/Applications

# create conda env
conda create -n test_env python=3.9

# activate the env
conda activate test_env

Windows:

# download Anaconda
curl -O <https://repo.anaconda.com/archive/Anaconda3-2022.02-Windows-x86_64.exe>

# install Anaconda
Anaconda3-2022.02-Windows-x86_64.exe /S /D=C:\\Anaconda3

# create conda env
conda create -n test_env python=3.9

# activate the env
conda activate test_env

Environments are located in ~/.conda/envs

Resources:

https://repo.anaconda.com/archive/

https://docs.anaconda.com/anaconda/install/mac-os/