Skip to content
Stars Background

yarn npm tag add

Add a tag for a specific version of a package

Terminal window
yarn npm tag add <package> <tag>

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

Terminal window
yarn npm tag add my-pkg@2.3.4-beta.4 beta

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.