yarn npm tag remove — Yarn CLI reference

Remove a tag from a package

Docs/Reference/CLI/npm/tag/remove

yarn npm tag remove

Remove a tag from a package

yarn npm tag remove <PACKAGE> <TAG>

This command removes a tag from a package from the npm registry. The latest tag cannot be removed.

The request is sent to the registry the package would be published to (the workspace’s publishConfig.registry if the package is one of the project’s workspaces, otherwise npmPublishRegistry as configured for its scope or matching package rules) and always requires authentication. If the registry requires two-factor authentication, use --otp or enter the code when prompted.

#--otpboolean

One-time password to use when the registry requires two-factor authentication

Examples#

Remove the beta tag from package my-pkg

yarn npm tag remove my-pkg beta