Leave the current virtual environment.
Section: Activate and deactivate
Deactivate environment
bash
bash
deactivateExplanation
Returns your shell to the base environment and resets PATH changes made by activation.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Activate and deactivate