Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 729 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 729 Bytes

Install

Download to folder in which you whant to have vENV.
vENV will be init in ./venv

wget https://raw.githubusercontent.com/nchekwa/venv.sh/main/venv.sh

Usage

# --- Usage ---
root@linux:/tmp# sh venv.sh 
Usage: venv.sh {create|activate|deactivate|remove}
aliases: 
 * create=init
 * activate=active|run
 * deactivate=remove|deletel|del

# --- Create vENV ---
root@linux:/tmp# sh venv.sh create
Virtual environment created at ./venv

# --- Activate vENV ---
root@linux:/tmp# ./venv.sh active
(venv) root@linux:/tmp#

# --- Deactivate vENV ---
(venv) root@linux:/tmp# deactivate
root@linux:/tmp#

# --- Remove vENV ---
root@linux:/tmp# sh venv.sh remove
Virtual environment removed.