Tip

💗 Upbear us at GitHub Sponsors and SonarQube Advanced Security (Tidelift). Follow us on Bluesky.

Your generous support is our quality assurance. 💗

# Install

Install beartype with pip, because PyPI is the cheese shop and you too enjoy a fine Venezuelan beaver cheese while mashing disconsolately on your keyboard late on a rain-soaked Friday evening. Wherever expensive milk byproducts ferment, beartype will be there.

    pip3 install beartype

Install beartype with Anaconda, because package managers named after vicious South American murder reptiles have finally inspired your team to embrace more mammal-friendly packages. Your horoscope also reads: “Avoid reckless ecotourism in places that rain alot.”

    conda config --add channels conda-forge
    conda install beartype

## Platform

Beartype is also installable with platform-specific package managers, because sometimes you just need this thing to work.

### macOS

Let’s install beartype with Homebrew on macOS courtesy our third-party tap:

    brew install beartype/beartype/beartype

Let’s install beartype with MacPorts on macOS:

    sudo port install py-beartype

A big bear hug to our official macOS package maintainer @harens for packaging beartype for our Apple-appreciating audience.

### Arch Linux

Let’s install beartype with `pacman` on Arch Linux – where beartype is now officially packaged in the Arch User Repository (AUR) itself:

    git clone https://aur.archlinux.org/python-beartype.git
    cd python-beartype
    makepkg -si

Truly, Arch Linux has now seen the face of quality assurance. It looks like a grizzled bear with patchy fur, one twitchy eye, and a gimpy leg that spasmodically flails around.

### Gentoo Linux

Let’s install beartype with `emerge` on Gentoo Linux – where beartype is now officially packaged in the Portage tree itself:

    emerge beartype

Source-based Linux distributions are the CPU-bound nuclear option. What could be simpler? O_o