Packages

commander

15.1.0 · 7 Nov 2026MIT785.6M / weekRepositoryHomepagenpmAtom feed

Your version

14.0.0

major18 May 2025Where it was published

14.0.3 is the newest release of 14.x.

In short

1 breaking1 removed3 new1 fixed1 changed

  • Breaking
    • Commander 14 requires Node.js v20 or higher

  • Removed

    Remove bogus leading space in help when option has default value but not a description

Release note

Added

  • Support for groups of options and commands in the help using low-level .helpGroup() on Option and Command, and higher
    -level .optionsGroup() and .commandsGroup() which can be used in chaining way to specify group title for following option
    s/commands (#2328)

  • Support for unescaped negative numbers as option-arguments and command-arguments

  • TypeScript: Add parseArg property to Argument class

Fixed

  • Removed

    Remove bogus leading space in help when option has default value but not a description

  • .configureOutput() now makes copy of settings instead of modifying in-place, fixing side-effects

Changed

  • Breaking
    • Commander 14 requires Node.js v20 or higher

  • Internal refactor of Help class adding .formatItemList() and .groupItems() methods

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.