when I get a fresh terminal, my prompt says

(base) ~> 

The (base) part is something that seems new. Was this added during a recent update? How do I get rid of it? There is one piece of customization in my dot .profile, namely

export PS1="\[\e[32;1m\]\w> \[\e[0m\]"

I also installed Conda recently, which might be related to that.

How do I remove (base) ?

  • reverse problem: Including virtual environment in bash prompt
    – anki
    Commented Nov 26, 2019 at 6:14
  • @rydev see the edit history to see what more needed an edit. :) (except the bash lang indicator, that is fancy.) Drop by chat for further discussions. Also, OP: did you make a mistake about the macOS version there, or are you running Tiger ?
    – anki
    Commented Nov 26, 2019 at 6:20
  • @ankii: Yes, it is 10.14.6, not 10.4.6 as I originally typed. Corrected.
    – max_zorn
    Commented Nov 28, 2019 at 7:22

1 Answer 1


It's a conda's environment indicator that none of the "new" environments is active, instead the default one is active. "new" here refers to those created by: conda create --name NameOfEnv python=3.6 or similar.

For getting rid of it, add the line conda deactivate at the end of ~/.bash_profile.

Verify by conda info --envs.

  • Dear @ankii this is pure genius, thanks very much!
    – max_zorn
    Commented Nov 28, 2019 at 7:19
  • To reload the profile: source ~/.bash_profile after change above.
    – Albert
    Commented Nov 18, 2023 at 9:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .