1CPANP(1) User Contributed Perl Documentation CPANP(1)
2
3
4
6 cpanp - The CPANPLUS launcher
7
9 cpanp
10
11 cpanp [-]a [ --[no-]option... ] author...
12
13 cpanp [-]mfitulrcz [ --[no-]option... ] module...
14
15 cpanp [-]d [ --[no-]option... ] [ --fetchdir=... ] module...
16
17 cpanp [-]xb [ --[no-]option... ]
18
19 cpanp [-]o [ --[no-]option... ] [ module... ]
20
22 This script launches the CPANPLUS utility to perform various operations
23 from the command line. If it's invoked without arguments, an
24 interactive shell is executed by default.
25
26 Optionally, it can take a single-letter switch and one or more
27 arguments, to perform the associated action on each argument. A
28 summary of the available commands is listed below; "cpanp -h" provides
29 a detailed list.
30
31 h # help information
32 v # version information
33
34 a AUTHOR ... # search by author(s)
35 m MODULE ... # search by module(s)
36 f MODULE ... # list all releases of a module
37
38 i MODULE ... # install module(s)
39 t MODULE ... # test module(s)
40 u MODULE ... # uninstall module(s)
41 d MODULE ... # download module(s)
42 l MODULE ... # display detailed information about module(s)
43 r MODULE ... # display README files of module(s)
44 c MODULE ... # check for module report(s) from cpan-testers
45 z MODULE ... # extract module(s) and open command prompt in it
46
47 x # reload CPAN indices
48
49 o [ MODULE ... ] # list installed module(s) that aren't up to date
50 b # write a bundle file for your configuration
51
52 Each command may be followed by one or more options. If preceded by
53 "no", the corresponding option will be set to 0, otherwise it's set to
54 1.
55
56 Example: To skip a module's tests,
57
58 cpanp -i --skiptest MODULE ...
59
60 Valid options for most commands are "cpantest", "debug", "flush",
61 "force", "prereqs", "storable", "verbose", "md5", "signature", and
62 "skiptest"; the 'd' command also accepts "fetchdir". Please consult
63 CPANPLUS::Configure for an explanation to their meanings.
64
65 Example: To download a module's tarball to the current directory,
66
67 cpanp -d --fetchdir=. MODULE ...
68
69
70
71perl v5.36.0 2022-07-22 CPANP(1)