dpv (dee-pee-vee) is a dead simple alternative to pyenv-virtualenv and virtualenvwrapper
- It's simple. Just type
dpv
ordpv <python version>
and get the work done. - It's pure shell and POSIX-compliant tested with: ash bash dash ksh zsh
- It's built to get out of the way!
Think of dpv
as an interface for whaterver of these tools you have installed: uv
, pyenv
, brew
It will automatically pick the one that is available and use it for the job.
- Download
sh -c 'curl -fsSLo $1 https://github.com/caioariede/dpv/releases/download/v0.12.1/dpv && chmod +x $1' -- /usr/local/bin/dpv
- Configure — Add the following line to your .bashrc, .zshrc, etc
eval "$(dpv internal-load-shell)"
Check out more details in the installation instructions
Take a look at the dpv cheatsheet - or for more detailed instructions, check the documentation