conda upgrade library version code example
Example 1: 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 2: update anaconda packages
conda update --all