# Install cpm with Homebrew, apt

Fast CPAN module installer. Version 1.1.4 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:cpm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cpm
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cpm
```

  Evidence: Debian stable package indexes: cpm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:cpm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cpm>
- **Version:** 1.1.4
- **Source summary:** Fast CPAN module installer
- **Homepage:** <https://metacpan.org/pod/cpm>
- **Repository:** <https://github.com/skaji/cpm>
- **Upstream docs:** <https://github.com/skaji/cpm#readme>
- **License:** Artistic-1.0-Perl OR GPL-1.0-or-later
- **Source archive:** <https://cpan.metacpan.org/authors/id/S/SK/SKAJI/App-cpm-v1.1.4.tar.gz>
- **Last updated:** 2026-06-28T18:24:27Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cpm (cli)
- cpm (alias)

## Dependencies

- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.4
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://metacpan.org/pod/cpm
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

cpm is Shoichi Kaji's fast CPAN module installer. It is packaged as the Perl distribution App-cpm and focuses on predictable dependency installation for Perl projects.

### Project history

The GitHub repository was created in June 2015, and MetaCPAN records the first App-cpm trial release in August 2015 as an experimental CPAN client. The current upstream README describes cpm as a fast CPAN module installer and lists self-contained and CPAN-based installation paths.

The README describes the v1 design as preparing dependencies first and performing final installation separately. That detail is significant for package users because cpm is not just a thin downloader; its installation model is meant to make larger dependency graphs and parallel work more stable.

### Adoption history

The supplied package facts list Homebrew and Debian packages, while MetaCPAN is the primary Perl distribution channel. The README also points CI users to an install-with-cpm GitHub Action, showing adoption around automated dependency installation.

### How it is used

cpm installs requested CPAN distributions and, by default, their runtime dependency closure. It is commonly compared with cpanminus, Menlo, and Carton, which upstream lists as related tools.

### Why package nerds care

For Perl packagers and CI maintainers, cpm matters because CPAN installation speed and dependency graph stability are recurring pain points. Its availability through both CPAN and OS package managers makes it useful as a bootstrap and automation tool.

### Timeline

- 2015: GitHub repository created.
- 2015: MetaCPAN records App-cpm 0.100-TRIAL as an experimental CPAN client.
- 2026: MetaCPAN records App-cpm v1.1.4.

### Related projects

- App::cpanminus, Menlo, and Carton are listed by upstream as related CPAN installation tools.
- install-with-cpm is listed by upstream for GitHub Actions usage.

### Sources

- <https://api.github.com/repos/skaji/cpm>
- <https://raw.githubusercontent.com/skaji/cpm/master/README.md>
- <https://fastapi.metacpan.org/v1/release/App-cpm>
- <https://fastapi.metacpan.org/v1/release/_search?q=distribution:App-cpm&size=1&sort=date:asc>


## Security Notes

No matching local secret-handling manifest was found for cpm. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cpm
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** yaze-ag
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - cpm - 0.32-1.6: normalized package name match | Debian stable package indexes: cpm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Curses based password manager using PGP-encryption | https://github.com/comotion/cpm


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [perl](https://www.automicvault.com/pkg/brew/perl/) - Runtime dependency declared by Homebrew.
- [cpanminus](https://www.automicvault.com/pkg/brew/cpanminus/) - Shares av.db curated category or tags: cli, cpan, developer-tools, package-management, perl.
- [npm-check-updates](https://www.automicvault.com/pkg/brew/npm-check-updates/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, package-management.
- [patch-package](https://www.automicvault.com/pkg/brew/patch-package/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, package-management.
- [pnpm](https://www.automicvault.com/pkg/brew/pnpm/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, package-management.
- [psc-package](https://www.automicvault.com/pkg/brew/psc-package/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, package-management.
- [vcpkg](https://www.automicvault.com/pkg/brew/vcpkg/) - Shares av.db curated category or tags: cli, dependencies, developer-tools, package-management.
- [akku](https://www.automicvault.com/pkg/brew/akku/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [bower](https://www.automicvault.com/pkg/brew/bower/) - Shares av.db curated category or tags: cli, developer-tools, package-management.
- [carton](https://www.automicvault.com/pkg/brew/carton/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cpan, developer, developer-tools, management.

## Combined YAML source

View the package source record on GitHub. [combined/cpm.yml](https://github.com/automic-vault/db/blob/main/combined/cpm.yml)


## Sources

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