python@3.11
brew install python@3.11
v3.11.15_3
Python-2.0
Python 3.11 interpreter — dynamically-typed language runtime with standard library.
Why you might care
Install this if you need a specific Python 3.11 version alongside system Python or other versions; use Homebrew's versioned formula when you want isolation from brew's default python@3.x without touching your shell's global environment. Useful for testing, legacy projects, or Docker base images. Most users reach for unversioned `python` or a version manager like pyenv.
52.5k
30-day installs · #123
153.5k
90-day · #135
616.0k
365-day · #111
Runtime dependencies
Build dependencies
Links
- https://www.python.org/
- Brew formula source: Formula/p/python@3.11.rb
Caveats
Python is installed as $HOMEBREW_PREFIX/bin/python3.11 Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to `python3.11`, `python3.11-config`, `pip3.11` etc., respectively, are installed into $HOMEBREW_PREFIX/opt/python@3.11/libexec/bin You can install Python packages with pip3.11 install <package> They will install into the site-package directory $HOMEBREW_PREFIX/lib/python3.11/site-packages `idle3.11` requires tkinter, which is available separately: brew install python-tk@3.11 gdbm (`dbm.gnu`) is no longer included in this formula, but it is available separately: brew install python-gdbm@3.11 `dbm.ndbm` changed database backends in Homebrew Python 3.11. If you need to read a database from a previous Homebrew Python created via `dbm.ndbm`, you'll need to read your database using the older version of Homebrew Python and convert to another format. `dbm` still defaults to `dbm.gnu` when it is installed. If you do not need a specific version of Python, and always want Homebrew's `python3` in your PATH: brew install python3 For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"pyenv",
"conda",
"python",
"python@3.12"
],
"build_dependencies": [
"pkgconf"
],
"categories": [
"language-runtime",
"interpreter"
],
"caveats": "Python is installed as\n $HOMEBREW_PREFIX/bin/python3.11\n\nUnversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to\n`python3.11`, `python3.11-config`, `pip3.11` etc., respectively, are installed into\n $HOMEBREW_PREFIX/opt/python@3.11/libexec/bin\n\nYou can install Python packages with\n pip3.11 install \u003cpackage\u003e\nThey will install into the site-package directory\n $HOMEBREW_PREFIX/lib/python3.11/site-packages\n\n`idle3.11` requires tkinter, which is available separately:\n brew install python-tk@3.11\n\ngdbm (`dbm.gnu`) is no longer included in this formula, but it is available separately:\n brew install python-gdbm@3.11\n`dbm.ndbm` changed database backends in Homebrew Python 3.11.\nIf you need to read a database from a previous Homebrew Python created via `dbm.ndbm`,\nyou\u0027ll need to read your database using the older version of Homebrew Python and convert to another format.\n`dbm` still defaults to `dbm.gnu` when it is installed.\n\nIf you do not need a specific version of Python, and always want Homebrew\u0027s `python3` in your PATH:\n brew install python3\n\nFor more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python\n",
"conflicts_with": [],
"dependencies": [
"mpdecimal",
"openssl@3",
"sqlite",
"xz"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Interpreted, interactive, object-oriented programming language",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:40+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "python@3.11",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://www.python.org/",
"homepage_og_description": "The official home of the Python Programming Language",
"homepage_og_image": "https://www.python.org/static/opengraph-icon-200x200.png",
"homepage_title": "Welcome to Python.org",
"installs_30d": 52463,
"installs_365d": 616028,
"installs_90d": 153491,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Python-2.0",
"llm_generated_at": "2026-06-20T23:42:53+00:00",
"llm_model": "claude-haiku-4-5",
"name": "python@3.11",
"oldnames": [],
"one_liner": "Python 3.11 interpreter \u2014 dynamically-typed language runtime with standard library.",
"optional_dependencies": [],
"rank_30d": 123,
"rank_365d": 111,
"rank_90d": 135,
"raw_hash": "36565121828e6404",
"recommended_dependencies": [],
"revision": 3,
"ruby_source_path": "Formula/p/python@3.11.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"bzip2",
"expat",
"libedit",
"libffi",
"libxcrypt",
"ncurses",
"unzip"
],
"version_head": null,
"version_stable": "3.11.15",
"versioned_formulae": [
"python@3.14",
"python@3.13",
"python@3.12",
"python@3.10",
"python@3.9"
],
"why_use_this": "Install this if you need a specific Python 3.11 version alongside system Python or other versions; use Homebrew\u0027s versioned formula when you want isolation from brew\u0027s default python@3.x without touching your shell\u0027s global environment. Useful for testing, legacy projects, or Docker base images. Most users reach for unversioned `python` or a version manager like pyenv."
}