Before using venvat, ensure the following requirements are met:
venvat
is designed to activate these environments, not to create them.If you need to install Python, you can download it from the official site:
https://www.python.org/downloads
If pip
is not installed, you can install it by downloading get-pip.py
:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
To install venvat
, run the following command:
pip install venvat
Once venvat
is installed, you can easily activate your virtual environment.
If your virtual environment is named venv
, you can run:
venvat
Important : Venvat recognise venv
as default name of the virtual environment
If your virtual environment is not named venv
, you will need to configure it for the first time:
venvat --venv your-env-name
Resetting your configuration:
venvat --reset
For more features, you can explore with:
venvat --help
pip
is installed. You can follow the same pip installation process as described earlier.To install venvat
globally, run:
pip install venvat
Then, activate it based on your shell:
For Bash:
source ~/.bashrc
For Zsh:
source ~/.zshrc
Restart your terminal to apply the changes.
Now, venvat
is available globally.
git clone https://github.com/Kelocker/venvat.git