Skip to main content
Module

x/is_wsl/cli.ts

Check if the process is running inside a WSL enviroment in Deno
Latest
File
import { isWsl } from "./mod.ts";
const cli = async () => { if (await isWsl()) { console.log('You are inside WSL environment!'); } else { console.log('You are not in WSL environment!'); }}
cli();