Conda User Guide
Manage Environments
# List
conda env list
# Create
conda create -n my_environment_name python=3.11.5
# Delete
conda remove -n my_environment_name --all
# Activate
conda activate my_environment_name
# Deactivate
conda deactivate
# Check Conda Health
conda doctor
Creating Environments
# Create with name and python version
conda create -n my_environment_name python=3.11.5
# Create with a yaml configuration
conda env create -n my_environment_name -f environment.yml
Maintenance
# Reset base environment to scratch
# Note: this can damage other environments, so use as a last resort
conda install --revision 0