perl

Install command:
brew install perl

Also known as: perl@5.44

Highly capable, feature-rich programming language

https://www.perl.org/

License: Artistic-1.0-Perl OR GPL-1.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/perl.json

Formula code: perl.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.44.0
head ⚡️ HEAD

Depends on:

gdbm 1.26 GNU database manager

Uses from macOS: libxcrypt

Binaries: corelist, cpan, enc2xs, encguess, h2ph, h2xs, instmodsh, json_pp, libnetcfg, perl, perl5.44.0, perlbug, perldoc, perlivp, perlthanks, piconv, pl2pm, pod2html, pod2man, pod2text, pod2usage, podchecker, prove, ptar, ptardiff, ptargrep, shasum, splain, streamzip, xsubpp, zipdetails

By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
    PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
And add the following to your shell profile e.g. ~/.profile or ~/.zshrc
    eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"

GitHub Packages downloads:

Last 30 days74,173
Downloads6,170,682
Analytics install events (30 days)16,073
Downloads / install events (30 days)4.6×

Source: GitHub Packages, fetched 2026-11-13T00:51:18Z. Analytics dates: 2026-10-14 to 2026-11-13. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs16,06641,377236,587
Installs (--HEAD)734125
Installs on Request2,3266,81839,461
Installs on Request (--HEAD)734124
Build Errors27