Skip to content

Get the name of the current operating system

License

Notifications You must be signed in to change notification settings

sindresorhus/os-name-cli

Repository files navigation

os-name-cli

Get the name of the current operating system

Install

npm install --global os-name-cli

Usage

$ os-name --help

  Example
    $ os-name
    macOS Sierra

Related