update conda code example

Example 1: conda update pytorch

conda update pytorch torchvision -c pytorch

Example 2: conda update package

# Basic syntax:
conda update packagename # To update specific package in the current env
conda update --all # To update all packages in the current environment
conda update -n myenv --all # To update all packages in myenv environment

Example 3: update conda command

conda update conda

Example 4: anaconda update package

conda update --all

Example 5: conda python update

conda install python= pythonversion

Tags:

Misc Example