# os-cli

> Show OS Information

Latest version **0.0.5** (published 2016-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install os-cli
pnpm add os-cli
yarn add os-cli
bun add os-cli
```

Provides the command `os`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2016-07-18 |
| First published | 2014-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Witcher42 |
| Maintainers | witcher42 |
| Keywords | os, command line, os version, linux version, mac version, windows version |

## Links

- npm: https://www.npmjs.com/package/os-cli
- Repository: https://github.com/Witcher42/os-cli
- Issues: https://github.com/Witcher42/os-cli/issues
- npm.io page: https://npm.io/package/os-cli

## Dependencies (2)

- [colors](https://npm.io/package/colors.md) ~0.6.2
- [JQDeferred](https://npm.io/package/JQDeferred.md) ~2.1.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.0.5 (latest) — 2016-07-18
- 0.0.4 — 2014-03-08
- 0.0.3 — 2014-03-07
- 0.0.2 — 2014-03-07
- 0.0.1 — 2014-03-07

## README

OS Cli
======

Show OS version in command line.

Tired of rememberring kinds of commands of showing name and version of different Operating Systems? Try this simple one.

### Install Globally

    [sudo] npm install -g os-cli

Use it in command line:

    os

This will show your system basic information
    
    Mac OS X 10.9.2 (Darwin 13.1.0)

or

    CentOS 5.10 (Linux 3.9.3-x86-linode52)
    
or

    Ubuntu 12.04 (Linux 3.2.0-23-generic)
    
or

    Microsoft Windows 7 Ultimate Service Pack 1 (Windows_NT 6.1.7601)

### Install Locally

Use it in your project:

    npm install --save os-cli

Sample code:

```js
var os = require('os-cli');

os(function(error, info) {
  console.log(info);
});
```

---
_Source: https://npm.io/package/os-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
