yarn / 3.1.1 / cli / npm / tag / add.html /

yarn npm tag add

Add a tag for a specific version of a package.

Usage

$> yarn npm tag add <package> <tag>

Examples

Add a beta tag for version 2.3.4-beta.4 of package my-pkg :

yarn npm tag add [email protected] beta

Details

This command will add a tag to the npm registry for a specific version of a package. If the tag already exists, it will be overwritten.

© 2016–present Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/cli/npm/tag/add