Skip to content
JS
Package

is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

v3.1.1, 15 Feb 2026MITESM onlyTypes: BundledCLI tools and terminal utilities
$ npm install is-wsl

Key numbers

As of 25 Sept 2026
Weekly downloads
101.3m
+100% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v3.1.1
GitHub stars
199
9 forks
Open issues / PRs
0 / 0
Contributors
7
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 132.1m (25 Aug 2026)Low 38.3m (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.

101,341,330 downloads last week, 482,047,338 in the last month. The 12-month change of +100% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
19 in total
Latest version
3.1.1, 15 Feb 20267 months ago
First published
16 Apr 2017
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
4
Dependents on npm
2,038

Major versions

  1. v3 first release 3.0.0, 8 Aug 2023
  2. v2 first release 2.0.0, 23 Apr 2019
  3. v1 first release 1.0.0, 16 Apr 2017

Recent releases

VersionPublished
3.1.115 Feb 2026
3.1.025 Sept 2023
3.0.08 Aug 2023
2.2.03 May 2020
2.1.123 Sept 2019
2.1.023 Jun 2019
2.0.023 Apr 2019
1.1.017 Apr 2017
1.0.016 Apr 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16
Runtimes
-
Unpacked size (npm)
3.6 kB
Dependencies (1)
is-inside-container
npm install is-wsl
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-wsl@3.1.1/
  • unpkghttps://unpkg.com/is-wsl@3.1.1/
  • esm.shhttps://esm.sh/is-wsl@3.1.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.