LinuxCommandLibrary

npm-dist-tag

manages distribution tags for packages

TLDR

List tags for package

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

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.

SEE ALSO

npm(1), npm-publish(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community