Skip to content
skajiPublic

About

fast CPAN client

Resources

Stars

179 stars

Watchers

8 watching

Forks

Latest commit

 

History

919 Commits

Folders and files

Repository files navigation

cpm

a fast CPAN module installer

Install

Download the latest self-contained cpm and run it directly:

curl -fsSL -o cpm https://github.com/skaji/cpm/releases/latest/download/cpm &&
  chmod +x cpm &&
  ./cpm --version

To verify its artifact attestation before running it, use this sequence instead. It requires the GitHub CLI (gh) and stops if downloading or verification fails:

curl -fsSL -o cpm https://github.com/skaji/cpm/releases/latest/download/cpm &&
  gh attestation verify cpm --repo skaji/cpm &&
  chmod +x cpm &&
  ./cpm --version

You can use ./cpm as is, or place it in a directory on your PATH.

Description

cpm is a fast CPAN module installer.

cpm prepares dependencies first and performs final installation separately. By default, it installs the requested distributions and their runtime dependency closure.

This makes installs more stable and more predictable, especially for larger dependency graphs and parallel work.

For more background on the cpm v1 redesign, see cpm v1: making installs stable.

Artifact Attestations

GitHub Artifact Attestations are generated for the self-contained cpm and release tarballs uploaded to CPAN. Verification establishes the provenance of the downloaded artifact; it does not verify CPAN distributions subsequently installed with cpm.

See the repository's attestations:

https://github.com/skaji/cpm/attestations

License

Copyright 2015 Shoichi Kaji skaji@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See Also

About

fast CPAN client

Resources

Stars

179 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages