conda-self#
Manage conda and its plugins in the base environment.
conda-self provides commands to install, update, and remove
conda plugins
in a protected base environment. It integrates with
conda doctor to set up base
protection – cloning your current base to a default environment,
removing conda packages not retained by base protection, and marking it as
frozen so regular conda commands refuse to modify it unless
--override-frozen is passed.
Quick example#

# Protect your base environment
$ conda doctor -n base base-protection --fix
# Install a plugin safely
$ conda self install conda-index
# Update all installed packages
$ conda self update --all
# Remove a plugin
$ conda self remove conda-index
# Reset base if things go wrong
$ conda self reset
What it does#
conda self keeps your base environment minimal and stable:
Base protection –
conda doctor -n base base-protection --fixclones base todefault, removes conda packages not retained by base protection, and marks it as frozenPlugin management –
conda self install,update, andremoveuse--override-frozento manage plugins through subprocess calls that respect all of conda’s safety checksReset –
conda self resetrestores base from an installer or base-protection snapshot, or removes conda packages not retained bycurrent