yargs
yargs the modern, pirate-themed, successor to optimist.
Key stats
yargs compared to the field
| Feature | yargs | Command-Line Tools average |
|---|---|---|
| Weekly Downloads | 369,774,265 | 583,380,992 |
| Dependent Packages | 42,463 | 43,504 |
| Popularity score | 4.7 / 5 | 4.8 / 5 |
Overview
Yargs carries no subscription fee, making it a $0 entry point into command-line tools.
yargs is rated exceptionally well, scoring 4.7 out of 5 on our rating metric.
Over the period tracked, yargs has seen one of the faster-growing options tracked here, up roughly 129% across 4 years.
yargs trails the command-line tools average on every metric we track (0 of 3).
with roots going back to 2013, yargs is a long-tenured option in this category.
Usage over time
Pros and cons
Strengths
- Free to use, with no paid tier required to get started.
Watch-outs
- Weekly Downloads trails the category average: 369,774,265 vs. 583,380,992.
- Dependent Packages trails the category average: 42,463 vs. 43,504.
- Falls short on popularity score — 4.7 / 5 against a category average of 4.8 / 5.
- Growing fast enough that current figures may shift quickly — verify before relying on them.
Quick answers
Is yargs free to use?
Yes — yargs is free, with no paid tier required to get started.
Is yargs good? What's its rating?
yargs scores 4.7 out of 5 on our rating metric, versus a Command-Line Tools category average of 4.8.
How many people use yargs?
yargs has roughly 369.8M users/stars tracked, compared to a category average of 583.4M.
When was yargs founded?
yargs was founded in 2013, making it 13 years old.
Is yargs growing?
Yes — usage is up roughly 129% over the past 4 years.
Ready to see yargs for yourself?
Opens the official site in a new tab.