See which environment is active.
Section: Activate and deactivate
Check VIRTUAL_ENV variable
bash
bash
echo $VIRTUAL_ENVExplanation
Activation scripts usually set `VIRTUAL_ENV` to the environment path.
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