Skip to main content

Group of simple wrapper commands for Python's virtualenv tool.

# To create a new Python 'virtualenv' in '$WORKON_HOME':
mkvirtualenv <virtualenv_name>

# To create a 'virtualenv' for a specific Python version:
mkvirtualenv --python </usr/local/bin/python3.8> <virtualenv_name>

# To activate or use a different 'virtualenv':
workon <virtualenv_name>

# To stop the 'virtualenv':
deactivate

# To list all virtual environments:
lsvirtualenv

# To remove a 'virtualenv':
rmvirtualenv <virtualenv_name>

# To get summary of all virtualenvwrapper commands:
virtualenvwrapper