detect-shells
v3.0.0
Published
Detect shells installed on a system
Downloads
32
Readme
Detect Shells
Extracted from https://github.com/desktop/desktop/tree/development/app/src/lib/shells
import path from 'node:path';
import { getAvailableShells, launchShell } from 'detect-shells';
const shells = await getAvailableShells();
await launchShell(shells[0], process.cwd());
License -> https://github.com/desktop/desktop/blob/development/LICENSE