A simple and convenient tool for managing Python venv on Linux.
- Easy creation and management of Python virtual environments
- All environments stored in
~/simple-venv/ - Simple command-line interface
- Environment copying and resetting capabilities
Download and install with a single command:
mkdir -p ~/.local/bin && curl -o ~/.local/bin/s-venv https://raw.githubusercontent.com/llaa33219/simple-venv/refs/heads/main/s-venv && chmod +x ~/.local/bin/s-venvOr if you prefer wget:
mkdir -p ~/.local/bin && wget -O ~/.local/bin/s-venv https://raw.githubusercontent.com/llaa33219/simple-venv/refs/heads/main/s-venv && chmod +x ~/.local/bin/s-venvs-venv [command] [arguments]| Command | Description |
|---|---|
create <name> |
Create a new virtual environment |
enter <name> |
Activate a virtual environment |
list |
List all virtual environments |
copy <source> <target> |
Copy a virtual environment |
reset <name> |
Reset a virtual environment (removes all packages) |
remove <name> |
Delete a virtual environment |
help |
Show help message |
Create a new environment
s-venv create test1
Activate the environment
s-venv enter test1
List all environments
s-venv list
Copy an environment
s-venv copy test1 test1-backup
Reset an environment
s-venv reset test1
Remove an environment
s-venv remove test1
- Python 3.3 or higher (with venv module)
- Linux/Unix-like operating system
- Bash shell
MIT License