table of contents
other versions
- jessie 1.4.21+ds-2
- testing 5.8.0+ds6-3
- stretch-backports 5.8.0+ds6-2~bpo9+1
- unstable 5.8.0+ds6-4
other sections
NPM-PUBLISH(1) | NPM-PUBLISH(1) |
NAME¶
npm-publish - Publish a packageSYNOPSIS¶
npm publish <tarball> [--tag <tag>] npm publish <folder> [--tag <tag>]
DESCRIPTION¶
Publishes a package to the registry so that it can be installed by name.- •
- <folder>: A folder containing a package.json file
- •
- <tarball>: A url or file path to a gzipped tar archive containing a single folder with a package.json file inside.
- •
- [--tag <tag>] Registers the published package with the given tag, such that npm install <name>@<tag> will install this version. By default, npm publish updates and npm install installs the latest tag.
SEE ALSO¶
- •
- npm help registry
- •
- npm help adduser
- •
- npm help owner
- •
- npm help deprecate
- •
- npm help tag
August 2014 |