os-name-cli

February 2, 2026 ยท View on GitHub

Get the name of the current operating system

Install

npm install --global os-name-cli

Usage

$ os-name --help

  Example
    $ os-name
    macOS Sierra