# Install pypy with Homebrew, apk, dnf, MacPorts, Nix, pacman

Highly performant implementation of Python 2 in Python. Version 7.3.23 via Homebrew; verified 2026-06-24.

## Install

```sh
sudo av install brew:pypy
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pypy
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pypy
```

  Evidence: MacPorts ports tree: lang/pypy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pypy
```

  Evidence: Alpine Linux edge package indexes: pypy from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install pypy
```

  Evidence: Fedora Rawhide package metadata: pypy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#pypy
```

  Evidence: nixpkgs package indexes: pypy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S pypy
```

  Evidence: Arch Linux sync databases: pypy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:pypy
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pypy>
- **Version:** 7.3.23
- **Source summary:** Highly performant implementation of Python 2 in Python
- **Homepage:** <https://pypy.org/>
- **Repository:** <https://github.com/pypy/pypy>
- **Upstream docs:** <https://doc.pypy.org/>
- **License:** MIT
- **Source archive:** <https://downloads.python.org/pypy/pypy2.7-v7.3.23-src.tar.bz2>
- **Last updated:** 2026-06-24T12:56:20-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- pypy (cli)
- pypy (alias)

## Dependencies

- gdbm
- openssl@3
- sqlite
- tcl-tk@8

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2
- expat
- libffi
- ncurses

## Install behavior

- Post-install hook: not defined
- Caveats: A "distutils.cfg" has been written to: $HOMEBREW_CELLAR/pypy/7.3.23/libexec/lib-python/2.7/distutils specifying the install-scripts folder as: $HOMEBREW_PREFIX/share/pypy If you install Python packages via "pypy setup.py install", easy_install_pypy, or pip_pypy, any provided scripts will go into the install-scripts folder above, so you may want to add it to your PATH *after* $HOMEBREW_PREFIX/bin so you don't overwrite tools from CPython. Setuptools and pip have been installed, so you can use easy_install_pypy and pip_pypy. These are now managed by the formula and should not be modified.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.3.23
- Package-manager updated: 2026-06-24
- Local data: ok
- Upstream repository: https://pypy.org/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pypy
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - pypy: normalized package name match | nixpkgs package indexes: pypy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - pypy - 7.3.19-r0: normalized package name match | Alpine Linux edge package indexes: pypy from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A fast, compliant alternative implementation of Python 2.7 | https://www.pypy.org/
- apk - pypy-dev - 7.3.19-r0: normalized package name match | Alpine Linux edge package indexes: pypy-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A fast, compliant alternative implementation of Python 2.7 (development files) | https://www.pypy.org/
- apk - pypy-tkinter - 7.3.19-r0: normalized package name match | Alpine Linux edge package indexes: pypy-tkinter from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Writing Tk applications with Pypy | https://www.pypy.org/
- dnf - pypy - 7.3.22-2.fc45: normalized package name match | Fedora Rawhide package metadata: pypy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python implementation with a Just-In-Time compiler | https://www.pypy.org/
- dnf - pypy-devel - 7.3.22-2.fc45: normalized package name match | Fedora Rawhide package metadata: pypy-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development tools for working with PyPy | https://www.pypy.org/
- dnf - pypy-libs - 7.3.22-2.fc45: normalized package name match | Fedora Rawhide package metadata: pypy-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Run-time libraries used by PyPy implementations of Python | https://www.pypy.org/
- pacman - pypy - 7.3.23-1: normalized package name match | Arch Linux sync databases: pypy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A Python implementation written in Python, JIT enabled | https://pypy.org
- MacPorts - pypy: normalized package name match | MacPorts ports tree: lang/pypy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gdbm](https://www.automicvault.com/pkg/brew/gdbm/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [tcl-tk@8](https://www.automicvault.com/pkg/brew/tcl-tk-8/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [pypy3.10](https://www.automicvault.com/pkg/brew/pypy3-10/) - Package name indicates the same formula family.
- [pypy3.11](https://www.automicvault.com/pkg/brew/pypy3-11/) - Package name indicates the same formula family.
- [python-freethreading](https://www.automicvault.com/pkg/brew/python-freethreading/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, python, runtime.
- [jython](https://www.automicvault.com/pkg/brew/jython/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, python.
- [micropython](https://www.automicvault.com/pkg/brew/micropython/) - Shares av.db curated category or tags: cli, language-runtime, python, runtime.
- [virtualenv](https://www.automicvault.com/pkg/brew/virtualenv/) - Shares av.db curated category or tags: cli, language-runtime, python.
- [chicken](https://www.automicvault.com/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, runtime.
- [ecl](https://www.automicvault.com/pkg/brew/ecl/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, runtime.
- [gauche](https://www.automicvault.com/pkg/brew/gauche/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, runtime.
- [gambit-scheme](https://www.automicvault.com/pkg/brew/gambit-scheme/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, implementation, interpreter, language, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/pypy.yml](https://github.com/automic-vault/db/blob/main/combined/pypy.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
