# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ols>
- **版本:** 2026-05
- **来源摘要:** Language server for The Odin Programming Language
- **主页:** <https://github.com/DanielGavin/ols>
- **仓库:** <https://github.com/DanielGavin/ols>
- **上游文档:** <https://github.com/DanielGavin/ols#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/DanielGavin/ols/archive/refs/tags/dev-2026-05.tar.gz>
- **最后更新:** 2026-05-07T10:03:09Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ols (cli)
- ols (别名)

## 构建依赖

- odin

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2026-05
- 管理器更新时间: 2026-05-07
- 本地数据: OK
- 上游仓库: https://github.com/DanielGavin/ols
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ols
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- 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_05-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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [odin](https://www.automicvault.com/zh-hans/pkg/brew/odin/) - Build dependency declared by Homebrew.
- [odinfmt](https://www.automicvault.com/zh-hans/pkg/brew/odinfmt/) - Shares the same upstream source repository.
- [dcd](https://www.automicvault.com/zh-hans/pkg/brew/dcd/) - Local metadata places this package in an adjacent workflow. Shared terms: language, programming, server.
- [actions-languageserver](https://www.automicvault.com/zh-hans/pkg/brew/actions-languageserver/) - Local metadata places this package in an adjacent workflow. Shared terms: language, server.

## Combined YAML source

View the package source record on GitHub. [combined/ols.yml](https://github.com/automic-vault/db/blob/main/combined/ols.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
