Jamo Sandbox
Categories
Command-Line Tools

yargs

yargs the modern, pirate-themed, successor to optimist.

4.7Updated 2026-11-031 min read

Key stats

Weekly Downloads
369,774,265
Dependent Packages
42,463
License
MIT
First Published
2013

yargs compared to the field

FeatureyargsCommand-Line Tools average
Weekly Downloads369,774,265583,380,992
Dependent Packages42,46343,504
Popularity score4.7 / 54.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

8693.7M20222023202420252026

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.

Visit yargs

More in Command-Line Tools