Skip to main content

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 my-pkg@2.3.4-beta.4 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.