codekingpro/portable-devtools
114k
1.TH "NPM-STAR" "1" "April 2026" "NPM@11.13.0" ""
2.SH "NAME"
3\fBnpm-star\fR - Mark your favorite packages
4.SS "Synopsis"
5.P
6.RS 2
7.nf
8npm star \[lB]<package-spec>...\[rB]
9.fi
10.RE
11.P
12Note: This command is unaware of workspaces.
13.SS "Description"
14.P
15"Starring" a package means that you have some interest in it. It's a vaguely positive way to show that you care.
16.P
17It's a boolean thing. Starring repeatedly has no additional effect.
18.SS "More"
19.P
20There's also these extra commands to help you manage your favorite packages:
21.SS "Unstar"
22.P
23You can also "unstar" a package using npm help unstar
24.P
25"Unstarring" is the same thing, but in reverse.
26.SS "Listing stars"
27.P
28You can see all your starred packages using npm help stars
29.SS "Configuration"
30.SS "\fBregistry\fR"
31.RS 0
32.IP \(bu 4
33Default: "https://registry.npmjs.org/"
34.IP \(bu 4
35Type: URL
36.RE 0
37
38.P
39The base URL of the npm registry.
40.SS "\fBunicode\fR"
41.RS 0
42.IP \(bu 4
43Default: false on windows, true on mac/unix systems with a unicode locale, as defined by the \fBLC_ALL\fR, \fBLC_CTYPE\fR, or \fBLANG\fR environment variables.
44.IP \(bu 4
45Type: Boolean
46.RE 0
47
48.P
49When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs.
50.SS "\fBotp\fR"
51.RS 0
52.IP \(bu 4
53Default: null
54.IP \(bu 4
55Type: null or String
56.RE 0
57
58.P
59This is a one-time password from a two-factor authenticator. It's needed when publishing or changing package permissions with \fBnpm access\fR.
60.P
61If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one.
62.SS "See Also"
63.RS 0
64.IP \(bu 4
65npm help "package spec"
66.IP \(bu 4
67npm help unstar
68.IP \(bu 4
69npm help stars
70.IP \(bu 4
71npm help view
72.IP \(bu 4
73npm help whoami
74.IP \(bu 4
75npm help adduser
76.RE 0
77 