Conda

Create/remove environment

# creation ENV from yml file
conda env create -f environment.yml

# remove ENV 
conda env remove --name NAME

Export environment

conda env export -n conda-env -f /path/to/environment.yml

conda env export --file environment.yml  

Turn environment on/off

# activate and deactivate
activate NAME
deactivate

Update or install

# update conda
conda update -n base conda

# update packages  
conda update --all

Install packages outside conda

# install non conda packages
pip install svgis