npm publish --tag beta

Category: Node.js & npm/yarn

npm publish --tag beta

Publish a version and tag it as 'beta' instead of 'latest'

Publishes the package but labels it 'beta' instead of 'latest'. Users won't get it via 'npm install package' unless they explicitly ask for '@beta'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.