From 3463e106dd633177aeedec0a4301454504bed442 Mon Sep 17 00:00:00 2001 From: Abhishek M J <85760664+abhishekmj303@users.noreply.github.com> Date: Wed, 25 Oct 2023 00:52:55 +0530 Subject: [PATCH] vf: add page (#11219) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/vf.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/vf.md diff --git a/pages/common/vf.md b/pages/common/vf.md new file mode 100644 index 000000000..463c76cb2 --- /dev/null +++ b/pages/common/vf.md @@ -0,0 +1,36 @@ +# vf + +> VirtualFish is a fish shell tool for managing Python virtual environments. +> More information: . + +- Create a virtual environment: + +`vf new {{virtualenv_name}}` + +- Create a virtual environment for a specific Python version: + +`vf new --python {{/usr/local/bin/python3.8}} {{virtualenv_name}}` + +- Activate and use the specified virtual environment: + +`vf activate {{virtualenv_name}}` + +- 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` + +- Deactivate the current virtual environment: + +`vf deactivate` + +- List all virtual environments: + +`vf ls` + +- Remove a virtual environment: + +`vf rm {{virtualenv_name}}` + +- Display help: + +`vf help`