activate virtualenv in cmd code example Example 1: virtualenv activation program in cmd .\venv\Scripts\activate Example 2: cmd activate virtualenv .\Scripts\activate