Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

cpan

By cpan · perldoc.perl.org

  • Free plan
  • Windows
  • macOS
  • Linux
7.4 Club score Visit perldoc.perl.org

Free

Free

Free plan

What the maker publishes

Build and test
The client can make modules, run their tests, clean module directories, and recompile dynamically loaded modules. source
Dependency resolution
Yes source
Founded
1995 source
Free plan
Yes source
Install modules
With module names as arguments, cpan installs the specified modules; the install switch is implied by default. source
Interactive shell
Running cpan without arguments starts the CPAN.pm shell. source
License
The script may be redistributed under the same terms as Perl itself. source
Limits
The dry-run option and warning option are marked unimplemented in the documentation. source
Local libraries
The -I option loads local::lib for using local library paths. source
Mirrors
Users can specify mirrors for one run, find faster mirrors, or ping configured mirrors for a report. source
Module inspection
The client can list installed modules, show out-of-date modules, and display module details and maintainers. source
Offline installation
Yes source
Package formats
Perl modules; Perl distributions,commonly .tar.gz archives source
Purpose
The cpan script provides a command interface to CPAN and uses CPAN.pm to do the work. source
Risk
The documentation warns that upgrading all installed modules blindly can break things and recommends keeping a backup. source
Supported platforms
Linux,macOS,Windows source

Checked against the maker's pages on 11 Oct 2026.