commands.sh

npm dist-tag

all

Manage distribution tags on packages.

More info →

Examples (6)

List all distribution tags for a package

npm dist-tag ls package_name

List all distribution tags for the current package

Add a distribution tag to a specific package version

npm dist-tag add package_name@version tag

Remove a distribution tag from a package

npm dist-tag rm package_name tag

Add a tag using the configured tag from npm config

npm dist-tag add package_name@version

Add a tag with two-factor authentication

npm dist-tag add package_name@version tag --otp one_time_password
made by @shridhargupta | data from tldr-pages