# Install cpm with Homebrew, apt

Fast CPAN module installer. Version 1.1.4 via Homebrew; verified 2026-06-28. Also installable with debian: sudo apt install cpm.

## 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
- **Version:** 1.1.4
- **Source summary:** Fast CPAN module installer
- **Homepage:** <https://metacpan.org/pod/cpm>
- **Repository:** <https://github.com/skaji/cpm>
- **Last updated:** 2026-06-28T18:24:27Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cpm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.1.4
## 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.


## 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


## Combined YAML source

View the package source record on GitHub. [combined/cpm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cpm.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
