28669faad4a9466a02d6b8d26744caf0894ef276
[platform/upstream/nodejs.git] / deps / npm / man / man1 / npm-publish.1
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-PUBLISH" "1" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-publish\fR \-\- Publish a package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm publish <tarball>
13 npm publish <folder>
14 .
15 .fi
16 .
17 .SH "DESCRIPTION"
18 Publishes a package to the registry so that it can be installed by name\.
19 .
20 .IP "\(bu" 4
21 \fB<folder>\fR:
22 A folder containing a package\.json file
23 .
24 .IP "\(bu" 4
25 \fB<tarball>\fR:
26 A url or file path to a gzipped tar archive containing a single folder
27 with a package\.json file inside\.
28 .
29 .IP "" 0
30 .
31 .P
32 Fails if the package name and version combination already exists in
33 the registry\.  Overwrites when the "\-\-force" flag is set\.
34 .
35 .SH "SEE ALSO"
36 .
37 .IP "\(bu" 4
38 npm help  registry
39 .
40 .IP "\(bu" 4
41 npm help adduser
42 .
43 .IP "\(bu" 4
44 npm help owner
45 .
46 .IP "\(bu" 4
47 npm help deprecate
48 .
49 .IP "\(bu" 4
50 npm help tag
51 .
52 .IP "" 0
53