# 使用 Homebrew, Nix, pacman 安装 ols

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

## 安装

```sh
sudo av install brew:ols
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ols
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ols
```

  证据: nixpkgs package indexes: pkgs/by-name/ol/ols/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ols
```

  证据: Arch Linux sync databases: ols from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:ols
- **软件包管理器:** Homebrew
- **版本:** 2026-06
- **来源摘要:** Language server for The Odin Programming Language
- **主页:** <https://github.com/DanielGavin/ols>
- **仓库:** <https://github.com/DanielGavin/ols>
- **最后更新:** 2026-07-24T02:06:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ols (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ols is the Odin Language Server, an implementation of Language Server Protocol features for the Odin programming language. It gives editors features such as completion, go-to-definition, symbol lookup, hover/help behavior, and project-aware feedback for Odin codebases.

### 项目历史

The DanielGavin/ols repository was created on 2020-11-03. Its README describes the project as a language server for Odin, notes that it tracks Odin's master branch, and documents setup for multiple editors including VS Code, Sublime, Vim, Neovim, Emacs, Helix, and Micro.

### 采用历史

OLS adoption follows Odin's growth as a systems programming language. The Odin website showcased OLS on 2023-07-02, describing it as a language server for popular editors and emphasizing lookup and go-to-definition as ways to understand Odin codebases faster.

### 使用方式

Developers install ols, add an ols.json configuration when needed, and point an editor's LSP client at the ols executable. Because Odin itself is a compiled systems language with a comparatively small ecosystem, editor integration is a high-leverage package: it supplies the interactive code-navigation layer many developers expect from larger language communities.

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

For package nerds, ols is a compact example of a language ecosystem maturing through tooling. The package is less famous than Odin itself, but Homebrew, Nix, and pacman packaging make the language server easy to slot into editor setups across platforms.

### 时间线

- 2020-11-03: The DanielGavin/ols repository was created on GitHub.
- 2023-07-02: The Odin website published a showcase page for OLS.
- 2026-07-01: GitHub repository metadata reported 1,048 stars, 163 forks, Odin as the primary language, and MIT licensing.

### Related projects

- Related projects include the Odin compiler and standard library, Odin editor extensions, tree-sitter grammars for Odin, and general LSP clients in editors such as Neovim, Helix, VS Code, Emacs, and Sublime Text.

### 来源

- <https://api.github.com/repos/DanielGavin/ols>
- <https://formulae.brew.sh/formula/ols>
- <https://github.com/DanielGavin/ols>
- <https://github.com/odin-lang/odin>
- <https://odin-lang.org/showcase/ols/>


## 安全说明

没有找到 ols 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ols.json
## 其他软件包管理器记录

- Nix - ols: normalized package name match | nixpkgs package indexes: pkgs/by-name/ol/ols/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - ols - dev_2026_06-1: normalized package name match | Arch Linux sync databases: ols from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Language server for Odin | https://github.com/DanielGavin/ols


## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
