# 使用 Homebrew 安装 oslo

查看 oslo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:oslo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install oslo
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:oslo
- **软件包管理器:** Homebrew
- **版本:** 0.13.0
- **来源摘要:** CLI tool for the OpenSLO spec
- **主页:** <https://openslo.com/>
- **仓库:** <https://github.com/openslo/oslo>
- **最后更新:** 2026-07-27T23:46:53+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- oslo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.13.0
## 项目历史与用法

oslo is the validation and formatting CLI for OpenSLO, an Apache-2.0 specification for declaring service-level objectives as YAML or JSON. It exists to make SLO definitions fit into Git and CI workflows rather than remaining vendor-specific dashboard configuration.

### 项目历史

The OpenSLO specification repository was created on April 27, 2021, and the oslo CLI repository followed on April 30, 2021. That close pairing reflects the project's shape: a vendor-agnostic SLO document format plus a command-line tool that checks and normalizes those documents.

OpenSLO's public site describes the specification as a service-level objective language for declarative reliability and performance targets, released under Apache 2.0. The specification states goals of Kubernetes-YAML compatibility, vendor neutrality, and extension points for implementation-specific needs.

### 采用历史

The oslo README documents several distribution paths: prebuilt release assets, `go install`, Homebrew through the OpenSLO tap, Docker images from GitHub Container Registry, and source builds. That mix points at CI-oriented usage, where teams can validate SLO manifests during code review or deployment.

### 使用方式

The core commands are deliberately narrow: `oslo validate` checks OpenSLO YAML or JSON documents, and `oslo fmt` formats them. OpenSLO's homepage frames this as a GitOps workflow: run the CLI in any CI/CD tool so SLO files are well-formed before they are consumed by downstream systems.

### 为什么软件包爱好者会关心

For package nerds, oslo is a good example of a standards-adjacent CLI: the binary matters less than the schema discipline it enforces. Packaging it gives SRE teams a reproducible validator for reliability metadata in the same way formatters and linters gate application code.

### 时间线

- 2021-04-27: the OpenSLO specification repository is created.
- 2021-04-30: the oslo CLI repository is created.
- 2025-06-29: oslo v0.13.0 is published on GitHub Releases.

### Related projects

- The OpenSLO specification is the parent standard. OpenSLO/slogen is a related project that turns OpenSLO configs into dashboards, monitors, SLI data, and Terraform-oriented output.

### 来源

- <https://api.github.com/repos/OpenSLO/OpenSLO>
- <https://api.github.com/repos/OpenSLO/oslo>
- <https://api.github.com/repos/OpenSLO/oslo/releases?per_page=5>
- <https://formulae.brew.sh/formula/oslo>
- <https://github.com/OpenSLO/OpenSLO>
- <https://github.com/OpenSLO/oslo/blob/main/README.md>
- <https://openslo.com/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/oslo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/oslo.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
