How to remove (base) from terminal prompt after updating conda

Homero Esmeraldo picture Homero Esmeraldo · Mar 14, 2019 · Viewed 37.9k times · Source

After updating miniconda3, whenever I open a terminal it shows "(base)" in front of my username and host.

In this answer post https://askubuntu.com/a/1113206/315699 it was suggested to use

conda config --set changeps1 False

To remove it.

But that would remove the indication for any conda environment. I would like to remove it only for the base one, so that I can maintain it always active and have access to its python and installed packages without having to always see this (base) taking up space.

Answer

Yokissa picture Yokissa · Aug 25, 2019

That's because conda's base environment is activated on startup.

To set the auto_activate_base parameter to false, type:

conda config --set auto_activate_base false