conda init

Initialize conda for shell interaction.


usage: conda init [-h] [--all] [--user] [--no-user] [--system] [--reverse]
                  [--json] [-v] [-q] [-d]
                  [SHELLS ...]

Positional Arguments


Possible choices: bash, fish, tcsh, xonsh, zsh, powershell

One or more shells to be initialized. If not given, the default value is 'bash' on unix and 'cmd.exe' & 'powershell' on Windows. Use the '--all' flag to initialize all shells. Available shells: ['bash', 'fish', 'powershell', 'tcsh', 'xonsh', 'zsh']



Initialize all currently available shells.

-d, --dry-run

Only display what would have been done.

setup type


Initialize conda for the current user (default).


Don't initialize conda for the current user.


Initialize conda for all users on the system.


Undo effects of last conda init.

Output, Prompt, and Flow Control Options


Report all output as json. Suitable for using conda programmatically.

-v, --verbose

Use once for info, twice for debug, three times for trace.

-q, --quiet

Do not display progress bar.

conda commands available from other packages:

doctor - A subcommand that displays environment health report