Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (18 sloc) 0.6 kB
c616ca5 @isaacs refactor publish doc
isaacs authored
1 npm-publish(1) -- Publish a package
2 ===================================
3
64afd3d @isaacs Clean up the docs further. Make them more consistent.
isaacs authored
4
5 ## SYNOPSIS
6
f5e7e9c @isaacs Updates for publish command
isaacs authored
7 npm publish <tarball>
8 npm publish <folder>
64afd3d @isaacs Clean up the docs further. Make them more consistent.
isaacs authored
9
10 ## DESCRIPTION
c616ca5 @isaacs refactor publish doc
isaacs authored
11
f5e7e9c @isaacs Updates for publish command
isaacs authored
12 Publishes a package to the registry so that it can be installed by name.
c616ca5 @isaacs refactor publish doc
isaacs authored
13
f5e7e9c @isaacs Updates for publish command
isaacs authored
14 * `<folder>`:
15 A folder containing a package.json file
16
17 * `<tarball>`:
18 A url or file path to a gzipped tar archive containing a single folder
19 with a package.json file inside.
20
21 Fails if the package name and version combination already exists in
c178365 @isaacs Documentation for 1.0
isaacs authored
22 the registry. Overwrites when the "--force" flag is set.
94e1571 @isaacs Document effect of force flag on publish
isaacs authored
23
4daf4e5 @isaacs first wave of documentation overhaul.
isaacs authored
24 ## SEE ALSO
25
26 * npm-registry(1)
27 * npm-adduser(1)
28 * npm-owner(1)
Something went wrong with that request. Please try again.