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'.