How to Check the Anaconda Version

Muhammad Maisam Abbas Feb 02, 2024
How to Check the Anaconda Version

This tutorial will discuss the methods to check the version of Anaconda installed on our device using Python.

Check the Anaconda Version With the conda Package Manager in Python

The command that we can use to check the version of Anaconda installed on our machine is given below.

conda list anaconda$

The command above lists all the packages named anaconda installed on our machine. The $ sign here indicates the end of the string, just like regular expressions. To check the version of the conda package manager installed on your device, you can use the command given below.

conda --version

This command gives us the version of the conda package manager rather than the Anaconda version installed on our device. You can further shorten this method using the following command.

conda - V

The code above gives us the same output as the previously written command.

So far, we have just discussed the versions of conda and the Anaconda software installed on your device. To get the complete information about the current environment details, we can use the following command.

conda info

This command provides us details on the current environment details. If we want to get a list of all the environments installed on our machine, we can use the following command.

conda info --envs 

This command will list all the active and inactive conda environments on our computer.

These are all the commands we will need to get information about the Anaconda version on our device.

Muhammad Maisam Abbas avatar Muhammad Maisam Abbas avatar

Maisam is a highly skilled and motivated Data Scientist. He has over 4 years of experience with Python programming language. He loves solving complex problems and sharing his results on the internet.

LinkedIn

Related Article - Python Anaconda