Add a tag for a specific version of a package
yarn npm tag add <package> <tag>Examples
Section titled “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 betaDetails
Section titled “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.