Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

default-shell

1.0.1 • Public • Published

default-shell Build Status

Get the user's default shell

Install

$ npm install --save default-shell

Usage

const defaultShell = require('default-shell');
 
// OS X
console.log(defaultShell);
//=> '/bin/bash'
 
// Windows
console.log(defaultShell);
//=> 'C:\\WINDOWS\\system32\\cmd.exe'

License

MIT © Sindre Sorhus

install

npm i default-shell

Downloadsweekly downloads

27,455

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability