1# Basic syntax:
2conda update packagename # To update specific package in the current env
3conda update --all # To update all packages in the current environment
4conda update -n myenv --all # To update all packages in myenv environment
1# If want to update python type
2conda update python
3
4# To update anaconda type
5conda update anaconda
6
7# a) If you want to upgrade between major python version like 3.5 to 3.6, you'll have to do
8conda install python=$pythonversion$
9
10# b) Method 2 - Create a new environment (Better Method)
11conda create --name py36 python=3.6
12
13# c) To get the absolute latest python(3.6.5 at time of writing)
14conda create --name py365 python=3.6.5 --channel conda-forge
15