npm version 1.2.3

Category: Node.js & npm/yarn

npm version 1.2.3

Set an explicit package version

Writes version 1.2.3 into package.json and creates a matching git tag named v1.2.3, instead of computing a bump from the current version. Use it to align the package with an external release plan. Add --no-git-tag-version to skip the tag.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.