npm Publish & Registry/Remove a dist-tag

Delete a dist-tag from a package.

Section: Distribution tags

Remove a dist-tag

bash
bash
npm dist-tag rm <package> beta
Explanation

Delete a dist-tag from a package.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Distribution tags
List dist-tags
Show all dist-tags for a package.
OpenIn sheetbashsame section
Add a dist-tag
Point a tag like beta at a version.
OpenIn sheetbashsame section
Publish with dist-tag
Publish a prerelease or alternate channel.
OpenIn sheetbash2 tag match
Bump patch version
Increment patch version and create a git tag by default.
OpenIn sheetbash1 tag match
Login to registry
Authenticate to a registry.
OpenIn sheetbash1 tag match
Search the registry
Search for packages from the CLI.
OpenIn sheetbash1 tag match