 in Mac Terminal. How to remove it.png)
What is (base) ?
If you are wondering what the (base) prefix is before the zsh prompt and how did you end up getting it? Well you have it because Anaconda has been installed on your device and "base" is the default Python environment from conda.
How to remove (base) from Mac Terminal?
Removing (base) prefix is very simple, all you need to do is deactivate the default conda environment.
conda deactivate
If you want it back in the future, run the below command to activate the base environment back,
conda activate base
Note that this is not a permanent way to get the base environment disabled. You can do that by adding the deactivate command in the .zshrc profile file.
Disable (base) env using .zshrc file
- Open Terminal App,
- Open the .zshrc file,
nano ~/.zshrc
- Now add the following line at the end.
conda deactivate
- Reload the Zsh shell by either typing zsh or,
source ~/.zshrc
- You will see that the base prefix is gone!
Have Questions? Post them here!
- How to find path of file on Mac Terminal
- How to disable Siri on Mac Monterey
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- Select Line Number TextEdit on Mac
- Go to Specific file path using Mac Finder
- How to find Java HOME in Mac Terminal
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- Must Know Homebrew Commands for Mac/Linux Users
- How to Insert an Inverted Question Mark on Mac ¿
- Hide Keyboard Text Input Icon on macOS Ventura Menu Bar
- How to make macOS Terminal window Transparent (or Opaque)
- How to check of Updates on Microsoft Edge Browser on Mac (macOS)
- Limit scrollback rows in macOS Terminal
- How to identify installed Java (JDK) Version on macOS
- Keyboard Shortcut to delete a file on a Mac [Macbook]
- Open Docker from Terminal Command on Mac
- Installing MongoDB on Linux/Unix/macOS/Ubuntu
- How to take a screenshot on a Mac - updated for Ventura 13 [updated 2023]
- ls: .: Operation not permitted - Mac Terminal ZSH Error
- How to remove username from Mac Menu Bar?
- macOS Ventura XCode Command Line Tools Installation
- Where is .zshrc file located in macOS
- How to Show Path of Files or App in Mac Spotlight Search
- How to enable root user on Mac Terminal
- Install Java 17 (LTS) JDK on ARM based M1/M2 Mac Natively
- Program 1: Print Hello World! - 1000+ Python Programs - Python-Programs
- Running Android Lint has encountered a problem NullPointerException Error - Android
- Create SharePoint Site Collection with new Content database in existing web application - SharePoint
- Plug-in com.android.ide.eclipse.adt was unable to lead class Error - Android
- How to record PowerPoint slide show presentation on Mac - narration, slide timings, ink gestures - Microsoft
- Gmail Unable to upload because it is a folder or a package (like an application bundle or RTFD document) - HowTos
- Validate email address in Python using regular expression (regex) - Python
- Save a Notepad file as Microsoft Excel file - Microsoft