is-wsl

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

3.1.1Latest, 15 Feb 2026
894MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
200Stars
3.7/10OpenSSF Scorecard

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.