summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-tag.1
blob: d164a1a1ae9fa8a16f66a4c4c2c4d84738d776d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TAG" "1" "April 2014" "" ""
.
.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