mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
434 B
Plaintext
26 lines
434 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# cpan
|
|
|
|
> Query, download, and build perl modules from CPAN sites.
|
|
> More information: <https://manned.org/cpan>.
|
|
|
|
- Install a module (`-i` is optional):
|
|
|
|
`cpan {{-i}} {{module_name}}`
|
|
|
|
- Force install a module (`-i` is not optional):
|
|
|
|
`cpan -fi {{module_name}}`
|
|
|
|
- Upgrade all installed modules:
|
|
|
|
`cpan -u`
|
|
|
|
- Recompile modules:
|
|
|
|
`cpan -r`
|