Question
What does `conda init` do and why might it be necessary?
Asked by: USER8365
56 Viewed
56 Answers
Answer (56)
`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.