npm-dist-tag

manages distribution tags for packages

TLDR

List tags for package
$ npm dist-tag ls [package-name]
Add tag to version
$ npm dist-tag add [package]@[version] [tag]
Remove tag
$ npm dist-tag rm [package] [tag]

SYNOPSIS

npm dist-tag command [options]

DESCRIPTION

npm dist-tag manages distribution tags for packages. Tags like latest, next, or beta point to specific versions. Used to control what version npm install gets by default.

PARAMETERS

ls package

List tags for package.
add pkg@version tag
Add tag to version.
rm package tag
Remove tag.

INSTALL

sudo pacman -S npm
sudo apk add npm
brew install npm

SEE ALSO

npm(1), npm-publish(1)