LinuxCommandLibrary

conda-init

shell integration setup

TLDR

Initialize conda for the current shell

$ conda init
copy
Initialize for specific shell
$ conda init [bash|zsh|fish|powershell]
copy
Initialize for all shells
$ conda init --all
copy
Reverse initialization
$ conda init --reverse
copy

SYNOPSIS

conda init [options] [shells...]

DESCRIPTION

conda init sets up shell integration for conda, modifying shell configuration files to enable the conda activate command and automatic base environment activation.
This must be run once after conda installation for full functionality.

PARAMETERS

--all

Initialize for all available shells.
--reverse
Undo shell initialization.
-d, --dry-run
Show what would be done without making changes.

CONFIGURATION

~/.condarc

User-level conda configuration for channels, package settings, and solver options.
/opt/conda/.condarc
System-wide conda configuration.

CAVEATS

Requires restarting the shell or sourcing the configuration file after running.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community