os-name-cli

Get the name of the current operating system

Usage no npm install needed!

<script type="module">
  import osNameCli from 'https://cdn.skypack.dev/os-name-cli';
</script>

README

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