Skip to content
JS
Package

arg

Unopinionated, no-frills CLI argument parser

v5.0.2, 5 Jun 2022MITCommonJSTypes: BundledCLI tools and terminal utilities
$ npm install arg

Key numbers

As of 25 Sept 2026
Weekly downloads
75.4m
+68% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v5.0.2
GitHub stars
1.3k
57 forks
Open issues / PRs
6 / 13
Contributors
16
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 111.3m (16 Jun 2026)Low 35.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

75,427,600 downloads last week, 352,312,130 in the last month. The 12-month change of +68% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
5.0.2, 5 Jun 20224 years ago
First published
1 Jun 2012
Last push to GitHub
18 Jul 2024798 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
6,526

Major versions

  1. v5 first release 5.0.0, 17 Nov 2020
  2. v4 first release 4.0.1, 28 Dec 2018
  3. v3 first release 3.0.0, 14 Dec 2018
  4. v2 first release 2.0.0, 1 Apr 2018
  5. v1 first release 1.0.0, 24 Oct 2017
  6. v0 first release 0.0.1, 1 Jun 2012

Recent releases

VersionPublished
5.0.25 Jun 2022
5.0.117 Aug 2021
5.0.017 Nov 2020
4.1.32 Feb 2020
4.1.225 Nov 2019
4.1.112 Jul 2019
4.1.02 Jan 2019
4.0.128 Dec 2018
3.0.014 Dec 2018
2.0.114 Nov 2018
2.0.01 Apr 2018
1.0.19 Mar 2018
1.0.024 Oct 2017
0.0.11 Jun 2012
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (0)
None
npm install arg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/arg@5.0.2/
  • unpkghttps://unpkg.com/arg@5.0.2/
  • esm.shhttps://esm.sh/arg@5.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
mri16.4m-5 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.