How to publish a new version First, update the version of the package: npm version <new version> Then run: npm publish