NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #11 most downloaded on npm
the complete solution for node.js command-line programs
Latest stable
15.1.0
Last release 14 days ago
07 Nov 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
125 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Breaking Change TypeScript to use overloaded function for .command. (#938 #990)
.command('clone', 'clone description', { executableFile: 'myClone' }).command to contrast action handler vs git-style executable. (#938 #990).command. (#938 #990)-p 80 can also be supplied as -p80node --harmony myCommand.js clone.version (#963)
program.version('0.0.1', '-v, --vers', 'output the current version').helpOption(flags, description) routine to customise help flags and description (#963)
.helpOption('-e, --HELP', 'read more information')--foo and --no-foo--no-foo on cli now emits option:no-foo (previously option:foo)--no-foo after defining --foo leaves the default value unchanged (previously set it to false)node --inspect myCommand.js cloneThe custom event for a negated option like --no-foo is option:no-foo (previously option:foo).
program
.option('--no-foo')
.on('option:no-foo', () => {
console.log('removing foo');
});
When using TypeScript, adding a command does not allow an explicit undefined for an unwanted executable description (e.g. for a command with an action handler).
program
.command('action1', undefined, { noHelp: true }) // No longer valid
.command('action2', { noHelp: true }) // Correct
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Ran "npm unpublish commander@2.20.2". There is no 2.20.2.
Ran "npm unpublish commander@2.20.2". There is no 2.20.2.
Improve tracking of executable subcommands.
Credits:
fix: resolve symbolic links completely when hunting for subcommands
Removed newline after Options and Commands headers
add support for execute typescript subcommand via ts-node
* Fix bug in command emit
fixed newline output after help information
Update eslint to resolve vulnerabilities in lodash
fix #777 Released with npm@5.6.0
fix #777 Released with npm@5.6.0
Update downloads badge to point to graph of downloads over time instead of duplicating link to npm
Nothing published for this version
only register the option:version event once
remove trailing spaces in command help
* fix: typings are not shipped
Move @types/node to dev dependency
add attributeName() method to Option objects
outputHelp takes a string as the first parameterFix help section order and padding
Update .travis.yml. drop support for older node.js versions.
--descriptionAdd option isDefault to set default subcommand #415 @Qix-
isDefault to set default subcommand #415 @Qix-undefined text in help information close #414 #416 @zhiyeleeBack out support multiline description Close #396 #397
support multiline description Close #396 #397fix process.execArg not exists in old version
Revert "Issue #346, fix collisions when option and first arg have same name"
solve #306, and bin in $PATH make sense
outputhelp usage tipNothing published for this version
Nothing published for this version
Nothing published for this version
add opts() for getting key-value pairs
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.