conda activate "$@" code example
Example 1: list conda environments
conda info --envs
conda env list
Example 2: remove a conda environment
conda env remove --name <name> --all
conda info --envs
conda env list
conda env remove --name <name> --all