1---
2title: npm-unstar
3section: 1
4description: Remove an item from your favorite packages
5---
6
7### Synopsis
8
9```bash
10npm unstar [<package-spec>...]
11```
12
13Note: This command is unaware of workspaces.
14
15### Description
16
17"Unstarring" a package is the opposite of [`npm star`](/commands/npm-star),
18it removes an item from your list of favorite packages.
19
20### More
21
22There's also these extra commands to help you manage your favorite packages:
23
24#### Star
25
26You can "star" a package using [`npm star`](/commands/npm-star)
27
28#### Listing stars
29
30You can see all your starred packages using [`npm stars`](/commands/npm-stars)
31
32### Configuration
33
34#### `registry`
35
36* Default: "https://registry.npmjs.org/"
37* Type: URL
38
39The base URL of the npm registry.
40
41
42
43#### `unicode`
44
45* Default: false on windows, true on mac/unix systems with a unicode locale,
46  as defined by the `LC_ALL`, `LC_CTYPE`, or `LANG` environment variables.
47* Type: Boolean
48
49When set to true, npm uses unicode characters in the tree output. When
50false, it uses ascii characters instead of unicode glyphs.
51
52
53
54#### `otp`
55
56* Default: null
57* Type: null or String
58
59This is a one-time password from a two-factor authenticator. It's needed
60when publishing or changing package permissions with `npm access`.
61
62If not set, and a registry response fails with a challenge for a one-time
63password, npm will prompt on the command line for one.
64
65
66
67### See Also
68
69* [npm star](/commands/npm-star)
70* [npm stars](/commands/npm-stars)
71* [npm view](/commands/npm-view)
72* [npm whoami](/commands/npm-whoami)
73* [npm adduser](/commands/npm-adduser)
74
75