Skip to content
JS
Package

which

Like which(1) unix command. Find the first instance of an executable in the PATH.

v7.0.0, 8 May 2026ISCCommonJSTypes: None
$ npm install which

Key numbers

As of 25 Sept 2026
Weekly downloads
254.4m
+104% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 months ago
v7.0.0
GitHub stars
352
55 forks
Open issues / PRs
6 / 2
Contributors
21
Commits, last 52 weeks
17

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300m400mSept 2025Mar 2026Sept 2026High 335.4m (16 Jun 2026)Low 86.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.

254,376,354 downloads last week, 1,172,165,420 in the last month. The 12-month change of +104% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
337 in total
Latest version
7.0.0, 8 May 20264 months ago
First published
7 Aug 2011
Last push to GitHub
2 Jul 202685 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
17
Dependents on npm
5,462

Major versions

  1. v7 first release 7.0.0, 8 May 2026
  2. v6 first release 6.0.0, 10 Nov 2025
  3. v5 first release 5.0.0, 1 Oct 2024
  4. v4 first release 4.0.0, 29 Aug 2023
  5. v3 first release 3.0.0, 1 Nov 2022
  6. v2 first release 2.0.0, 3 Oct 2019
  7. v1 first release 1.0.0, 7 Aug 2011

Recent releases

VersionPublished
7.0.08 May 2026
6.0.110 Feb 2026
6.0.010 Nov 2025
5.0.01 Oct 2024
4.0.029 Aug 2023
3.0.11 May 2023
3.0.01 Nov 2022
2.0.218 Nov 2019
2.0.13 Oct 2019
2.0.03 Oct 2019
1.3.125 May 2018
1.3.01 Aug 2017
1.2.1423 Mar 2017
1.2.1323 Mar 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^22.22.2 || ^24.15.0 || >=26.0.0
Runtimes
-
Unpacked size (npm)
7.3 kB
Dependencies (1)
isexe
npm install which
  • jsDelivrhttps://cdn.jsdelivr.net/npm/which@7.0.0/
  • unpkghttps://unpkg.com/which@7.0.0/
  • esm.shhttps://esm.sh/which@7.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.