yarn npm tag list — Yarn CLI reference
List all dist-tags of a package
Docs/Reference/CLI/npm/tag/list
yarn npm tag list
List all dist-tags of a package
yarn npm tag list <PACKAGE…>
This command lists all tags of a package from the npm registry, sorted by tag name, along with the version each of them points to.
If the package is not specified, Yarn will default to the current workspace.
The tags are read from the registry packages are fetched from (npmRegistryServer, or the npmScopes and packageRules settings that apply to the package), and credentials are sent according to the usual rules (always for scoped packages, otherwise only when npmAlwaysAuth is enabled).
Format the output as an NDJSON stream
Examples#
List all tags of package my-pkg
yarn npm tag list my-pkg
List all tags of the current workspace
yarn npm tag list