main
@reggi/path-to-regexp
dependabot/npm_and_yarn/main/copy-to-clipboard-4.0.2
dependabot/npm_and_yarn/main/eslint-10.4.0
dependabot/npm_and_yarn/main/npmcli/eslint-config-7.0.0
dependabot/npm_and_yarn/main/proc-log-7.0.0
dependabot/npm_and_yarn/npm_and_yarn-826852524d
dependabot/npm_and_yarn/npm_and_yarn-ab9a7f4bc2
deprecate-totp-2fa
dhei/classic-tokens
gat-bypass-2fa-docs
jpg619/fix-accessibility-content-flow
jpg619/version-bump-tar-2
kartykp/gat-bypass-2fa-docs
kartykp/upgrade-path-to-regex
main
maitxn/version-bump-tar
patch-1
reggi/cache-based-on-version
reggi/dev-engines
reggi/fix-transform-prettier
reggi/overrides
update-search-sensitivity
| 1 | --- |
| 2 | title: npm-unstar |
| 3 | section: 1 |
| 4 | description: Remove an item from your favorite packages |
| 5 | github_repo: npm/cli |
| 6 | github_branch: release/v7 |
| 7 | github_path: docs/content/commands/npm-unstar.md |
| 8 | redirect_from: |
| 9 | - /cli-documentation/v7/cli-commands/npm-unstar |
| 10 | - /cli-documentation/v7/cli-commands/unstar |
| 11 | - /cli-documentation/v7/commands/npm-unstar |
| 12 | - /cli-documentation/v7/commands/unstar |
| 13 | - /cli-documentation/v7/npm-unstar |
| 14 | - /cli-documentation/v7/unstar |
| 15 | - /cli/v7/cli-commands/npm-unstar |
| 16 | - /cli/v7/cli-commands/unstar |
| 17 | - /cli/v7/commands/unstar |
| 18 | - /cli/v7/npm-unstar |
| 19 | - /cli/v7/unstar |
| 20 | --- |
| 21 | |
| 22 | ### Synopsis |
| 23 | |
| 24 | ```bash |
| 25 | npm unstar [<pkg>...] |
| 26 | ``` |
| 27 | |
| 28 | Note: This command is unaware of workspaces. |
| 29 | |
| 30 | ### Description |
| 31 | |
| 32 | "Unstarring" a package is the opposite of [`npm star`](/cli/v7/commands/npm-star), it removes an item from your list of favorite packages. |
| 33 | |
| 34 | ### More |
| 35 | |
| 36 | There's also these extra commands to help you manage your favorite packages: |
| 37 | |
| 38 | #### Star |
| 39 | |
| 40 | You can "star" a package using [`npm star`](/cli/v7/commands/npm-star) |
| 41 | |
| 42 | #### Listing stars |
| 43 | |
| 44 | You can see all your starred packages using [`npm stars`](/cli/v7/commands/npm-stars) |
| 45 | |
| 46 | ### Configuration |
| 47 | |
| 48 | #### `registry` |
| 49 | |
| 50 | - Default: "https://registry.npmjs.org/" |
| 51 | - Type: URL |
| 52 | |
| 53 | The base URL of the npm registry. |
| 54 | |
| 55 | #### `unicode` |
| 56 | |
| 57 | - Default: false on windows, true on mac/unix systems with a unicode locale, as defined by the `LC_ALL`, `LC_CTYPE`, or `LANG` environment variables. |
| 58 | - Type: Boolean |
| 59 | |
| 60 | When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs. |
| 61 | |
| 62 | #### `otp` |
| 63 | |
| 64 | - Default: null |
| 65 | - Type: null or String |
| 66 | |
| 67 | This is a one-time password from a two-factor authenticator. It's needed when publishing or changing package permissions with `npm access`. |
| 68 | |
| 69 | If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. |
| 70 | |
| 71 | ### See Also |
| 72 | |
| 73 | - [npm star](/cli/v7/commands/npm-star) |
| 74 | - [npm stars](/cli/v7/commands/npm-stars) |
| 75 | - [npm view](/cli/v7/commands/npm-view) |
| 76 | - [npm whoami](/cli/v7/commands/npm-whoami) |
| 77 | - [npm adduser](/cli/v7/commands/npm-adduser) |