Automic VaultAutomic Vault

brew

Install virtualenv with Homebrew, apt, dnf, Nix

Tool for creating isolated virtual python environments. Version 21.6.0 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install virtualenv

local Homebrew formula metadata

overview

Package summary

Tool for creating isolated virtual python environments

Commands and aliases

  • virtualenv

history

Project history and usage

virtualenv is one of the foundational Python packaging tools: it creates isolated Python environments so projects can have their own interpreter-facing package directories instead of sharing a global site-packages. The Python Packaging Authority history records virtualenv as introduced by Ian Bicking in 2007, and PEP 405 later described third-party virtualenv as the established predecessor to Python's standard-library venv module.

Project history

virtualenv grew out of Ian Bicking's earlier workingenv and virtual-python work. Legacy virtualenv documentation describes it as a successor to workingenv and an extension of virtual-python, written by Bicking with sponsorship from The Open Planning Project and later maintained by a developer group under the PyPA umbrella.

The first PyPI files for virtualenv date to September 2007, and the legacy changelog records v0.8 as the initial release. In 2012, Python accepted PEP 405 for built-in virtual environments, explicitly citing the popularity of Ian Bicking's virtualenv as evidence that environment isolation was already a core Python workflow.

The project continued after venv entered the standard library because virtualenv supported more interpreter discovery modes, older Python versions, cross-platform activation scripts, and bundled or seeded installer behavior. The 20.x line was a major modernization of the implementation and seeding model, and recent changelogs show the project still tracking new Python versions and packaging behavior.

Adoption history

virtualenv became a default building block for Python application development, testing, and deployment before Python had a built-in equivalent. PEP 405 described virtual environments as already widely used for dependency management, non-admin package installation, and automated testing across Python versions.

Its adoption is tightly linked to pip and PyPA packaging culture. For years, tutorials, CI systems, tox configurations, and distribution packaging recipes assumed that creating a throwaway virtualenv was the ordinary way to test Python code without contaminating the system interpreter.

How it is used

The common workflow is to run `virtualenv ENV`, activate the environment with the shell-specific activation script, and then install dependencies with pip into that isolated prefix. Modern virtualenv can also select interpreters, delegate some creation paths to venv, and seed environments with packaging tools according to its configured policy.

Even where `python -m venv` is sufficient, virtualenv remains useful when users want faster creation, broader interpreter support, consistent behavior across platforms, or compatibility with older packaging workflows. It is also embedded indirectly in higher-level tools that create disposable environments for testing, building, or application isolation.

Why package nerds care

virtualenv is package-nerd bedrock: it changed Python packaging from a global-machine problem into a per-project directory problem. Much of the later Python tooling stack, including virtualenvwrapper, tox, pipenv, Poetry, nox, and uv-style environment workflows, either builds on the same isolation idea or interoperates with its directory conventions.

Timeline

  • 2007: virtualenv was introduced by Ian Bicking.
  • 2007-09-14: The earliest virtualenv files currently listed on PyPI were uploaded.
  • 2012: PEP 405 proposed Python's standard-library virtual environments, citing virtualenv's established popularity.
  • 2020: virtualenv 20.x became the modern line with a rewritten creation and seeding architecture.
  • 2026: The active 21.x line continues to track current Python packaging and interpreter changes.

Related projects

  • workingenv and virtual-python were direct predecessors. Python's standard-library venv module standardized a subset of the virtual-environment concept. virtualenvwrapper and VirtualFish are shell-oriented managers built around virtualenv-style environments.

Sources

  • PEP 405: https://peps.python.org/pep-0405/
  • PyPA packaging history: https://www.pypa.io/en/latest/history/
  • virtualenv PyPI project: https://pypi.org/project/virtualenv/
  • virtualenv changelog: https://virtualenv.pypa.io/en/latest/changelog.html
  • virtualenv legacy changelog: https://virtualenv.pypa.io/en/legacy/changes.html
  • virtualenv legacy development documentation: https://virtualenv.pypa.io/en/legacy/development.html

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for virtualenv. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
platformdirs app config directory/virtualenv.ini
Windows
platformdirs app config directory/virtualenv.ini

executables

Installed executables

CommandKindExposureNote
virtualenvcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version21.6.0
manager updated2026-07-08
local dataok
upstreamnot checked
latest detectednot detected

https://virtualenv.pypa.io/

install metadata

Package metadata

Package keybrew:virtualenv
Version21.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/virtualenv
Homepagehttps://virtualenv.pypa.io/
Repositoryhttps://github.com/pypa/virtualenv
Upstream docshttps://virtualenv.pypa.io/en/stable
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/74/65/ec1d92091671e6407d3e7c1f5801413bb7b2b57630a50cae7750456ba0ed/virtualenv-21.6.0.tar.gz
Last updated2026-07-08T03:16:55Z
Pulseupdated
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namevirtualenv
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

virtualenv 20.31.2+ds-1

Python virtual environment creator (Dependency package)

https://virtualenv.pypa.io/

sudo apt install virtualenv
  • Section: python
  • Architecture: all
  • Source Package: python-virtualenv
  • 1 dependencies
  • normalized package name match
  • Matched by: Virtualenv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: virtualenv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

virtualenv

nix profile install nixpkgs#virtualenv
  • normalized package name match
  • Matched by: Virtualenv
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: virtualenv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

virtualenv 20.25.0+ds-2

Python virtual environment creator (Dependency package)

https://virtualenv.pypa.io/

sudo apt install virtualenv
  • Section: universe/python
  • Architecture: all
  • Source Package: python-virtualenv
  • 1 dependencies
  • normalized package name match
  • Matched by: Virtualenv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: virtualenv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

python3-virtualenv 21.4.2-1.fc45

Tool to create isolated Python environments

http://pypi.python.org/pypi/virtualenv

sudo dnf install python3-virtualenv
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-virtualenv
  • 5 dependencies
  • 6 provides
  • normalized package name match
  • Matched by: Virtualenv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-virtualenv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment