Activate from PowerShell.
Section: Activate and deactivate
Activate on Windows PowerShell
powershell
powershell
.venv\Scripts\Activate.ps1Explanation
If execution policy blocks the script, temporarily allow local scripts for the session or user before activating.
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