blob: 5818dcd7f35cb189992a11e151863f39f69cc104 [file] [log] [blame]
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TAG" "1" "December 2013" "" ""
.
.SH "NAME"
\fBnpm-tag\fR \-\- Tag a published version
.
.SH "SYNOPSIS"
.
.nf
npm tag <name>@<version> [<tag>]
.
.fi
.
.SH "DESCRIPTION"
Tags the specified version of the package with the specified tag, or the \fB\-\-tag\fR config if not specified\.
.
.P
A tag can be used when installing packages as a reference to a version instead
of using a specific version number:
.
.IP "" 4
.
.nf
npm install <name>@<tag>
.
.fi
.
.IP "" 0
.
.P
When installing dependencies, a preferred tagged version may be specified:
.
.IP "" 4
.
.nf
npm install \-\-tag <tag>
.
.fi
.
.IP "" 0
.
.P
This also applies to \fBnpm dedupe\fR\|\.
.
.P
Publishing a package always sets the "latest" tag to the published version\.
.
.SH "SEE ALSO"
.
.IP "\(bu" 4
npm help publish
.
.IP "\(bu" 4
npm help install
.
.IP "\(bu" 4
npm help dedupe
.
.IP "\(bu" 4
npm help registry
.
.IP "\(bu" 4
npm help config
.
.IP "\(bu" 4
npm help config
.
.IP "\(bu" 4
npm help npmrc
.
.IP "" 0