dpv (dee-pee-vee) is a dead simple alternative to pyenv-virtualenv and virtualenvwrapper
![Bem-te-vi, Great Kiskadee, Pitangus sulphuratus, credit of Helena Stainer Bem-te-vi, Great Kiskadee, Pitangus sulphuratus, credit of Helena Stainer](https://private-user-images.githubusercontent.com/55533/257967773-7c1a5baa-8727-4417-80f2-41cdcead61d6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MzYyNzYsIm5iZiI6MTcyNTUzNTk3NiwicGF0aCI6Ii81NTUzMy8yNTc5Njc3NzMtN2MxYTViYWEtODcyNy00NDE3LTgwZjItNDFjZGNlYWQ2MWQ2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDExMzI1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3ODBmMmIxZmNiNGUxNTExMmM3NDBhOTVmYzE0ZDAxMGNjN2UxZDgxNzU2ODRlZTYyNzI4OWY2NzNiNmVlNjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.W4xgX9ew_YaiLq3J8d3A4Y6bLD7RYTiNYV1eWdRXDts)
- 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