npm version patch

Category: Node.js & npm/yarn

npm version patch

Bump the patch version (1.0.0 → 1.0.1), commit the change, and create a git tag automatically

Bumps the third number in your version (1.2.3 → 1.2.4), saves it to package.json, commits the change, and creates a git tag — all in one command. Patch = bug fixes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.