Publish a prerelease or alternate channel.
Section: Publish packages
Publish with dist-tag
bash
bash
npm publish --tag nextExplanation
Publish a prerelease or alternate channel.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Publish packages
Bump patch version
Increment patch version and create a git tag by default.
Preview published contents
See which files would go into a package tarball.
Publish a scoped package publicly
Publish a scoped package to the public registry.