Skip to main content

VU

vu Cheat Sheet – Virtual Environment Manager

Create and Manage Environments
CommandDescription
vu new <envname>Create a new virtual environment
vu rm <envname>Delete (remove) an environment
vu lsList all virtual environments
vu cd <envname>Print path to the environment
Interactive Environment
CommandDescription
vu activate <envname>Start a new shell with the environment active
exitExit the activated shell
Other Helpful Commands
CommandDescription
vu which <envname>Show path to Python binary in the env
vu homeShow the root directory where vu stores envs
Typical Workflow
vu new myproject
vu run myproject pip install flask
vu run myproject python app.py

Or interactively:

vu activate myproject
# now you're inside the virtualenv
python
exit