Files
Olares/docs/developer/install/cli/osinfo.md
2025-07-17 11:58:59 +08:00

21 lines
1.5 KiB
Markdown

# `osinfo`
## Synopsis
The `osinfo` command provides detailed information about the operating system of the current device. Specifically, it retrieves and displays metadata such as `OS_TYPE`, `OS_PLATFORM`, `OS_ARCH`, `OS_VERSION`, `OS_KERNEL`, and `OS_INFO`.
```bash
olares-cli osinfo <subcommand> [options]
```
## Subcommand
| Subcommand | Description |
|------------|----------------------------------------------------------------------|
| `show` | Prints information about the operating system of the current device. |
## Flag
| Name | Short | Description |
|--------------|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `--help` | `-h` | Displays help information. |