macOS
brew install cpanminuslocal Homebrew formula metadata
brew / rank 1436
Get, unpack, build, and install modules from CPAN. Version 1.7049 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install cpanminus.
install
brew install cpanminuslocal Homebrew formula metadata
sudo apt install cpanminusDebian stable package indexes · cpanminus · source: deb.debian.org
sudo pacman -S cpanminusArch Linux sync databases · cpanminus · source: geo.mirror.pkgbuild.com
sudo dnf install perl-App-cpanminusFedora Rawhide package metadata · perl-App-cpanminus · source: dl.fedoraproject.org
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 | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:cpanminus |
|---|---|
| Version | 1.7049 |
| Package manager | Homebrew |
| Homepage | https://github.com/miyagawa/cpanminus |
| Repository | https://github.com/miyagawa/cpanminus |
| Last updated | 2026-06-22T14:03:05-07:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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-2.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.3
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.