yargs
npmactive
yargs last released 18.2.0 on 2026-09-20. Its latest version requires Node.js ^20.19.0 || ^22.12.0 || >=23.
Facts
- Latest release
- 18.2.0, (1 month ago)
- First published
- (12 years ago)
- Releases in the last 12 months
- 6
- Median days between releases
- 2
- Median days between major versions
- 155
- Monthly downloads
- 1,064,791,463
- License
- MIT
- Repository
- github.com/yargs/yargs
- Homepage
- yargs.js.org
- Source
- registry.npmjs.org (checked 2026-10-19)
Major versions
18 major versions have been published.
| Major | First version | First released | Latest version | Latest released |
|---|---|---|---|---|
| 18 | 18.0.0 | 2025-05-27 | 18.2.0 | 2026-09-20 |
| 17 | 17.0.0 | 2021-05-02 | 17.7.3 | 2026-06-19 |
| 16 | 16.0.0 | 2020-09-09 | 16.2.2 | 2026-06-19 |
| 15 | 15.0.0 | 2019-11-10 | 15.4.1 | 2020-07-10 |
| 14 | 14.0.0 | 2019-07-30 | 14.2.3 | 2020-03-13 |
| 13 | 13.1.0 | 2019-02-12 | 13.3.2 | 2020-03-13 |
| 12 | 12.0.0 | 2018-06-26 | 12.0.5 | 2018-11-19 |
| 11 | 11.0.0 | 2018-01-22 | 11.1.1 | 2019-10-07 |
| 10 | 10.0.0 | 2017-10-18 | 10.1.2 | 2018-01-17 |
| 9 | 9.0.0 | 2017-09-03 | 9.0.1 | 2017-09-17 |
| 8 | 8.0.0 | 2017-05-01 | 8.0.2 | 2017-06-12 |
| 7 | 7.0.0 | 2017-02-26 | 7.1.2 | 2021-04-25 |
| 6 | 6.0.0 | 2016-09-30 | 6.6.0 | 2016-12-30 |
| 5 | 5.0.0 | 2016-08-16 | 5.0.0 | 2016-08-16 |
| 4 | 4.0.0 | 2016-02-14 | 4.8.1 | 2016-07-17 |
| 3 | 3.0.0 | 2015-02-12 | 3.32.0 | 2016-01-15 |
| 2 | 2.1.1 | 2015-02-07 | 2.3.0 | 2015-02-08 |
| 1 | 1.0.0 | 2013-11-23 | 1.3.3 | 2014-11-12 |
Runtime requirements
The latest version of yargs declares these runtime constraints.
| Runtime | Constraint | Minimum version | Since version | Since |
|---|---|---|---|---|
| Node.js | ^20.19.0 || ^22.12.0 || >=23 | 20.19.0 | 18.0.0 | 2025-05-27 |
Supported runtimes
The latest version of yargs runs on 6 tracked runtime releases.
Keelbench tracks end-of-life dates for 469 products, updated daily. Check your repositories against these dates with Deps.