Automic VaultAutomic Vault

brew

Install cpanminus with Homebrew, apt, dnf, pacman, zypper

Get, unpack, build, and install modules from CPAN. Version 1.7049 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cpanminus

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install cpanminus

Debian stable package indexes · cpanminus · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install perl-App-cpanminus

Fedora Rawhide package metadata · perl-App-cpanminus · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S cpanminus

Arch Linux sync databases · cpanminus · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install perl-App-cpanminus

openSUSE Tumbleweed package metadata · perl-App-cpanminus · source: download.opensuse.org

overview

Package summary

Get, unpack, build, and install modules from CPAN

Commands and aliases

  • cpanm

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2010: Copyright start year for App::cpanminus in the official README.
  • 1.6004: The README notes CPAN Meta DB and MetaCPAN query behavior for cpanm 1.6004 or later.
  • Current packaging: The README documents availability through Debian packages, RPMs, FreeBSD ports, and other operating-system package systems.

Related projects

  • The README compares its scope with CPAN and CPANPLUS, and points to local::lib, perlbrew, plenv, CPAN Meta DB, MetaCPAN, App::cpanoutdated, cpan-listchanges, and App::cpanminus::reporter as adjacent tools.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cpanmcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.7049
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/miyagawa/cpanminus

install metadata

Package metadata

Package keybrew:cpanminus
Version1.7049
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cpanminus
Homepagehttps://github.com/miyagawa/cpanminus
Repositoryhttps://github.com/miyagawa/cpanminus
Upstream docshttps://github.com/miyagawa/cpanminus#readme
LicenseArtistic-1.0-Perl OR GPL-1.0-or-later
Source archivehttps://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7049.tar.gz
Last updated2026-06-22T14:03:05-07:00
Pulseupdated
Build dependenciesperl
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecpanminus
Aliases
  • cpanm
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cpanminus 1.7048-1

script to get, unpack, build and install modules from CPAN

https://metacpan.org/release/App-cpanminus

sudo apt install cpanminus
  • Section: perl
  • Architecture: all
  • 16 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Cpanminus
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpanminus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

cpanminus 1.7047-1

script to get, unpack, build and install modules from CPAN

https://metacpan.org/release/App-cpanminus

sudo apt install cpanminus
  • Section: universe/perl
  • Architecture: all
  • 16 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Cpanminus
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpanminus from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

perl-App-cpanminus 1.7049-1.fc45

Get, unpack, build and install CPAN modules

https://metacpan.org/release/App-cpanminus

sudo dnf install perl-App-cpanminus
  • License: GPL-1.0-or-later OR Artistic-1.0-Perl
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: perl-App-cpanminus
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Cpanminus
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: perl-App-cpanminus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cpanminus 1.7049-1

Get, unpack, build, and install modules from CPAN

https://github.com/miyagawa/cpanminus

sudo pacman -S cpanminus
  • License: Artistic-1.0-Perl OR GPL-1.0-or-later
  • Architecture: any
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cpanminus
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cpanminus from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

perl-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-cpanminus
  • License: Artistic-1.0 OR GPL-1.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: perl-App-cpanminus
  • 2 dependencies
  • 3 provides
  • installed executable or alias match
  • Matched by: Cpanm
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: perl-App-cpanminus from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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