The protected base installer is a new Miniconda installer that protects your base conda environment from destructive changes. Many users inadvertently break their conda installation by installing all packages directly into the base environment, leading to dependency conflicts that are difficult to resolve without fully uninstalling and reinstalling. The protected base installer solves this by making base read-only and providing a default working environment for everyday use.
The protected base installer introduces two key changes:
Protected base environment: The base environment is frozen and cannot be modified by conda install, pip install, or other package manager install commands. This prevents accidental breakage of your conda installation.
Default working environment: Instead of activating base by default, the installer creates and activates a working environment, called python-<VERSION> (where <VERSION> is the installer’s default version of Python), for your day-to-day package installations.
Different default install directory: Your install directory is miniconda3_pbe instead of miniconda3.
Anaconda strongly recommends creating a separate environment for each project to keep your dependencies isolated and your projects reproducible. For more information, see Why should I create a new environment.
Installing Miniconda with Protected Base Environment
If you do not have a current conda installation and want to try the protected base installer, download the installer for your platform below, then follow the standard Miniconda install instructions as a guide.
The protected base environment version of conda is not currently compatible with Anaconda Navigator or Anaconda Desktop. Use conda on the command line only if trying the protected base environment installer.
Choose your operating system and preferred installer type below:
Windows graphical
Windows CLI
macOS graphical
macOS CLI
Linux CLI
Navigate to anaconda.com/download, register with Anaconda, and then select Windows 64-bit Graphical Installer under Miniconda with Protected Base Environment in Beta Installers.
Navigate to anaconda.com/download, register with Anaconda, and then select 64-Bit (Apple silicon) Graphical Installer under Miniconda with Protected Base Environment in Beta Installers.
Because the base environment is protected, you cannot update conda or install plugins using the standard conda install command. Instead, use the conda self command to manage packages in the base environment:
This is only recommended for conda plugins or other packages that specifically modify conda. For more information on conda plugins, see Plugins in the official conda documentation.
The following options bypass the protected base safeguards and are not recommended for regular use. Using them can lead to the same dependency conflicts and broken installations that the protected base feature prevents.
In rare cases where you must modify the base environment directly, the following override flags are available: