How do I update Anaconda?
Perform the 'update-conda trifecta' by executing the following commands:
These commands ensure that Conda itself, all installed packages, and the Anaconda distribution are updated. Mac users, welcome aboard. For Windows users, remember to run Anaconda Prompt as Administrator to enjoy seamless updates.
Straight to code: Essential commands
To keep your Anaconda up-to-date and working flawlessly, you should get familiar with these commands:
Update Conda itself
Use environments to control package versions
When the base environment refuses to cooperate, clone an environment:
Update individual packages
Different strokes for different folks. Update a specific package via the command line:
For Pip packages, the Pip guy is your best friend:
Install a specific version of Anaconda
Deep dive: Understanding and troubleshooting
The "custom" label mystery solved
When updating Anaconda, a "custom" label can suddenly appear. Stay calm and continue with the mission:
Too much updating with "conda update --all"
conda update --all
might lead to better things, or cause unstable environments. Keep checking and use back-ups:
Save some disk space with Conda environments
Using package cache and file linking, Conda environments are very efficient:
Ensuring complete updates
Was this article helpful?