Skip to content
JS
Package

global-dirs

Get the directory of globally installed packages and binaries

v4.0.0, 6 Nov 2023MIT-Types: BundledFiles and file systems
$ npm install global-dirs
Deprecated on npm
Renamed to global-directory

Key numbers

As of 25 Sept 2026
Weekly downloads
14.6m
+3% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v4.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 20.8m (18 Aug 2026)Low 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.

14,616,027 downloads last week, 67,795,595 in the last month. The 12-month change of +3% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
4.0.0, 6 Nov 20232 years ago
First published
25 Jun 2017
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 6 Nov 2023
  2. v3 first release 3.0.0, 12 Jan 2021
  3. v2 first release 2.0.0, 17 Sept 2019
  4. v1 first release 1.0.0, 2 May 2019
  5. v0 first release 0.1.0, 25 Jun 2017

Recent releases

VersionPublished
4.0.06 Nov 2023
3.0.116 Nov 2022
3.0.012 Jan 2021
2.1.014 Dec 2020
2.0.18 Nov 2019
2.0.017 Sept 2019
1.0.02 May 2019
0.1.119 Nov 2017
0.1.025 Jun 2017
Module format
-Not determined from package.json
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
8.2 kB
Dependencies (1)
ini
npm install global-dirs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/global-dirs@4.0.0/
  • unpkghttps://unpkg.com/global-dirs@4.0.0/
  • esm.shhttps://esm.sh/global-dirs@4.0.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet.