'Is the conda tool installed in the base environment or out of it?

When I try to update conda, I was told to execute conda update -n base conda, does this mean that the conda tool is installed in the base environment? Or the conda tool is installed out of any environment?



Solution 1:[1]

Yes. On all typical1 distributions it is always installed in the base environment.2 One can check all environments with the conda package installed with:

conda search --envs conda

It is possible to be installed elsewhere, in addition to base, but the base copy will be the default when not available in the currently activated environment.


[1]: Anaconda, Miniconda, and Miniforge variants.

[2]: In older Anaconda installations, base was previously termed root.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 merv