Open Terminal: On Windows, start Anaconda by searching for
"Anaconda Prompt" and click the first result. On Linux and macOS, just open the terminal or shell. Then run either of the following commands, depending on what you want to do.
Python Anaconda Version:
- To check your Python version in Anaconda, run
- To check your conda version, run
- To check the Anaconda version, run
conda list anaconda$
- To check the Python version in a conda environment, run
conda list python -f
- To check the versions of all packages installed in your conda environment, run
- To check environment details of your conda installation, run
Here’s a table for your reference:
|Check Python version in Anaconda|
|Check Anaconda version|
|Check Python version in |
|Get all package versions in |
|Get environment details of |
Note that the
$ symbol at the end of the conda list anaconda$ command is a regular expression that ensures that the searched package ends with
"anaconda". This prevents from other results coming up that only have the name
"anaconda" in them.
Help: In case you need help about any particular command, append the
--help flag to that command. For example,
conda info --help will print the help page to the
conda info command.
Do you want to update the Anaconda distribution?
First, update the package manager:
conda update conda
Second, update the meta-package:
conda update anaconda
Wait for the updates to terminate to obtain the latest Anaconda distribution.
Do you want the latest existing version of all installed packages? Run the following command:
conda update --all
Q: What is the object-oriented way to become wealthy? 💰 A: Inheritance.
While working as a researcher in distributed systems, Dr. Christian Mayer found his love for teaching computer science students.
To help students reach higher levels of Python success, he founded the programming education website Finxter.com. He’s author of the popular programming book Python One-Liners (NoStarch 2020), coauthor of the Coffee Break Python series of self-published books, computer science enthusiast, freelancer, and owner of one of the top 10 largest Python blogs worldwide.
His passions are writing, reading, and coding. But his greatest passion is to serve aspiring coders through Finxter and help them to boost their skills. You can join his free email academy here.