Command-line tool
is-wsl
cargo/is-wsl
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Checks if the process is running inside Windows Subsystem for Linux.
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
cargo install is-wsl
macOS
cargo install is-wsl
Linux
cargo install is-wsl
Related command-line tools
- wslgit
A small executable that forwards all arguments to git running inside Bash on Windows/Windows Subsystem for Linux (WSL) - lxrunoffline
A full-featured utility for Windows Subsystem for Linux (WSL) - wsl-terminal
Terminal emulator for Windows Subsystem for Linux (WSL) - xming
Run X GUI applications on bash subsystem or linux VM, and have them rendered on Windows Desktop. - is-docker
Checks if the process is running inside a Docker container. - openSUSE Tumbleweed
openSUSE Tumbleweed (Windows package; no description in the winget index) linux wsl distro 发行版… - pcem
An IBM PC compatibles emulator for Windows and Linux that specializes in running old os and software - container
Create and run Linux containers using lightweight virtual machines
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents