What does `conda init` do and why might it be necessary?

Responsive Ad Header

Question

Grade: Education Subject: Support
What does `conda init` do and why might it be necessary?
Asked by:
56 Viewed 56 Answers

Answer (56)

Best Answer
(396)
`conda init` modifies your shell's startup scripts (like `.bashrc`, `.zshrc`, or PowerShell profile) to initialize conda for each new terminal session. This ensures that the `conda` command is available and that conda's base environment is activated automatically. It's necessary when conda isn't recognized as a command or when you want conda to be the default environment manager in your shell.