conda-self#
Manage your conda base environment safely.
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,
resetting base to essentials, and freezing it so only conda self
commands can modify it.
Quick example#

# Protect your base environment
$ conda doctor base-protection --fix
# Install a plugin safely
$ conda self install conda-index
# Update conda and all plugins
$ conda self update
# 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 base-protection --fixclones base todefault, resets it to essentials, and freezes itPlugin management –
conda self install,update, andremovebypass the freeze to manage plugins through subprocess calls that respect all of conda’s safety checksReset –
conda self resetrestores base from a snapshot (installer-provided, base-protection, or current state)