Command-line tool
virtualenv
brew/virtualenv
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Tool for creating isolated virtual python environments
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install virtualenv
macOS
brew install virtualenv pipx install virtualenv
Linux
brew install virtualenv pipx install virtualenv
Create a new environment
virtualenv path/to/venv
Customize the prompt prefix
virtualenv --prompt prompt_prefix path/to/venv
Use a different version of Python with virtualenv
virtualenv -p path/to/pythonbin path/to/venv
Related command-line tools
- pyenv-virtualenv
Pyenv plugin to manage virtualenv - virtualfish
Python virtual environment manager for the fish shell - pipx
Execute binaries from Python packages in isolated environments - tox
Generic Python virtualenv management and test command-line tool - virtualenvwrapper
Python virtualenv extensions - fades
Automatically handle virtualenvs for python scripts - dmenv
Simple and practical virtualenv manager for Python - pipenv
Python dependency management tool
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents