Skip to content
JS
Package

command-exists

check whether a command line command exists in the current environment

v1.2.9, 15 Apr 2020MITCommonJSTypes: NoneCLI tools and terminal utilities
$ npm install command-exists

Key numbers

As of 25 Sept 2026
Weekly downloads
4.4m
+36% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v1.2.9
GitHub stars
147
22 forks
Open issues / PRs
11 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.9m (25 Aug 2026)Low 2.2m (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.

4,436,198 downloads last week, 21,127,831 in the last month. The 12-month change of +36% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
016 in total
Latest version
1.2.9, 15 Apr 20206 years ago
First published
21 Sept 2014
Last push to GitHub
11 Jan 20231,353 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
1,885

Major versions

  1. v1 first release 1.0.0, 23 Apr 2016
  2. v0 first release 0.1.0, 21 Sept 2014

Recent releases

VersionPublished
1.2.915 Apr 2020
1.2.813 Oct 2018
1.2.718 Jun 2018
1.2.614 Apr 2018
1.2.513 Apr 2018
1.2.412 Apr 2018
1.2.312 Apr 2018
1.2.228 Feb 2017
1.2.116 Feb 2017
1.2.010 Feb 2017
1.1.010 Feb 2017
1.0.227 Jul 2016
1.0.117 May 2016
1.0.023 Apr 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (0)
None
npm install command-exists
  • jsDelivrhttps://cdn.jsdelivr.net/npm/command-exists@1.2.9/
  • unpkghttps://unpkg.com/command-exists@1.2.9/
  • esm.shhttps://esm.sh/command-exists@1.2.9
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.