LinuxCommandLibrary

vf

VirtualFish is a fish shell tool for managing Python virtual environments.

TLDR

Create a virtual environment

$ vf new [virtualenv_name]
copy


Create a virtual environment for a specific Python version
$ vf new --python [/usr/local/bin/python3.8] [virtualenv_name]
copy


Activate and use the specified virtual environment
$ vf activate [virtualenv_name]
copy


Connect the current virtualenv to the current directory, so that it is activated automatically as soon as you enter it (and deactivated as soon as you leave)
$ vf connect
copy


Deactivate the current virtual environment
$ vf deactivate
copy


List all virtual environments
$ vf ls
copy


Remove a virtual environment
$ vf rm [virtualenv_name]
copy


Display help
$ vf help
copy

Copied to clipboard