- Home
- Package Managers
- cpan
On the recordRead 11 Oct 202616 facts
cpan
cpan · founded 1995
Plans and prices
Free
Free
Command-line interface to CPAN · installs and manages Perl modules
Read 11 Oct 2026 · perldoc.perl.org
On the record
- Build and test
- The client can make modules, run their tests, clean module directories, and recompile dynamically loaded modules.perldoc.perl.org · read 11 Oct 2026
- Dependency resolution
- Yesperldoc.perl.org · read 22 Sep 2026
- Install modules
- With module names as arguments, cpan installs the specified modules; the install switch is implied by default.perldoc.perl.org · read 11 Oct 2026
- Interactive shell
- Running cpan without arguments starts the CPAN.pm shell.perldoc.perl.org · read 11 Oct 2026
- License
- The script may be redistributed under the same terms as Perl itself.perldoc.perl.org · read 11 Oct 2026
- Limits
- The dry-run option and warning option are marked unimplemented in the documentation.perldoc.perl.org · read 11 Oct 2026
- Local libraries
- The -I option loads local::lib for using local library paths.perldoc.perl.org · read 11 Oct 2026
- Mirrors
- Users can specify mirrors for one run, find faster mirrors, or ping configured mirrors for a report.perldoc.perl.org · read 11 Oct 2026
- Module inspection
- The client can list installed modules, show out-of-date modules, and display module details and maintainers.perldoc.perl.org · read 11 Oct 2026
- Offline installation
- Yesperldoc.perl.org · read 22 Sep 2026
- Package formats
- Perl modules; Perl distributions,commonly .tar.gz archivesperldoc.perl.org · read 22 Sep 2026
- Purpose
- The cpan script provides a command interface to CPAN and uses CPAN.pm to do the work.perldoc.perl.org · read 11 Oct 2026
- Risk
- The documentation warns that upgrading all installed modules blindly can break things and recommends keeping a backup.perldoc.perl.org · read 11 Oct 2026
- Supported platforms
- Linux,macOS,Windowsperldoc.perl.org · read 22 Sep 2026