- Update
package.json, setversionto a prerelease version, e.g.2.0.0-rc1,3.1.5-rc4, ... - Run
npm packto create package - Run
npm publish <package>.tgz --tag nextto publish the package under thenexttag - Run
npm install --save package@nextto install prerelease package