CmdID

CmdID / Commands

venv

Create lightweight virtual environments in Python. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a Python virtual environment

python -m venv path/to/virtual_environmentIdentify

Activate the virtual environment (Linux and macOS)

[. path/to/virtual_environment/bin/activate

Activate the virtual environment (Windows)

path\to\virtual_environment\Scripts\activate.bat

Deactivate the virtual environment

deactivate

Create an alias that generates a venv folder and automatically activates it

alias venv='python -m venv .venv && source .venv/bin/activate'Identify