macOS
brew install cpanminuslocal Homebrew formula metadata
brew
Get, unpack, build, and install modules from CPAN. Version 1.7049 via Homebrew; verified 2026-06-22.
install
brew install cpanminuslocal Homebrew formula metadata
sudo apt install cpanminusDebian stable package indexes · cpanminus · source: deb.debian.org
sudo dnf install perl-App-cpanminusFedora Rawhide package metadata · perl-App-cpanminus · source: dl.fedoraproject.org
sudo pacman -S cpanminusArch Linux sync databases · cpanminus · source: geo.mirror.pkgbuild.com
sudo zypper install perl-App-cpanminusopenSUSE Tumbleweed package metadata · perl-App-cpanminus · source: download.opensuse.org
overview
Get, unpack, build, and install modules from CPAN
history
cpanminus, commonly invoked as cpanm, is a minimal Perl CPAN installer whose official description is to get, unpack, build, and install modules from CPAN and do nothing else.
The official README presents cpanminus as a dependency-free, zero-configuration, standalone script that can bootstrap itself and run with a small memory footprint. Its copyright notice begins in 2010 under Tatsuhiko Miyagawa.
The project repository and MetaCPAN documentation identify cpanminus as App::cpanminus, with cpanm as the user-facing executable.
The official README explicitly notes distribution through package management systems, including Debian packages, RPMs, FreeBSD ports, and other operating-system packages. The batch source facts also list Homebrew, Debian, Ubuntu, Fedora-family, Arch, and openSUSE-style package names.
It became popular in Perl packaging culture because it reduced CPAN installation to a small command-line tool, avoiding the heavier interactive configuration experience associated with older CPAN clients.
The common usage is `cpanm Module`, with installation options for system Perl, local Perl environments such as perlbrew or plenv, and standalone executable placement. cpanminus fetches and unpacks files under ~/.cpanm by default and allows PERL_CPANM_HOME to change that working area.
cpanminus matters to package nerds because it is both a package and a package installer: distributions package it so users can install Perl modules, while Perl users use it to bridge CPAN, local::lib, system package policies, and self-contained language-runtime workflows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cpanm | cli | global executable |
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.
https://github.com/miyagawa/cpanminus
install metadata
| Package key | brew:cpanminus |
|---|---|
| Version | 1.7049 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cpanminus |
| Homepage | https://github.com/miyagawa/cpanminus |
| Repository | https://github.com/miyagawa/cpanminus |
| Upstream docs | https://github.com/miyagawa/cpanminus#readme |
| License | Artistic-1.0-Perl OR GPL-1.0-or-later |
| Source archive | https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7049.tar.gz |
| Last updated | 2026-06-22T14:03:05-07:00 |
| Pulse | updated |
| Build dependencies | perl |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cpanminus |
| Aliases |
|
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cpanminus 1.7048-1
script to get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo apt install cpanminuscpanminus 1.7047-1
script to get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo apt install cpanminusperl-App-cpanminus 1.7049-1.fc45
Get, unpack, build and install CPAN modules
https://metacpan.org/release/App-cpanminus
sudo dnf install perl-App-cpanminuscpanminus 1.7049-1
Get, unpack, build, and install modules from CPAN
https://github.com/miyagawa/cpanminus
sudo pacman -S cpanminusperl-App-cpanminus 1.7049-1.1
Get, unpack, build and install modules from CPAN
https://metacpan.org/release/App-cpanminus
sudo zypper install perl-App-cpanminussource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.