You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 lines
1.0 KiB

.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TAG" "1" "October 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