# 使用 Homebrew, Nix 安装 lc0

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

## 安装

```sh
sudo av install brew:lc0
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lc0
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lc0
```

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

## 软件包事实

- **软件包键:** brew:lc0
- **软件包管理器:** Homebrew
- **版本:** 0.32.1
- **来源摘要:** Open source neural network based chess engine
- **主页:** <https://lczero.org/>
- **仓库:** <https://github.com/LeelaChessZero/lc0>
- **最后更新:** 2026-06-25T13:37:48+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lc0 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

lc0 is the Leela Chess Zero engine, an open source UCI-compatible chess engine that plays with neural networks from the LeelaChessZero project.

### 项目历史

Leela Chess Zero grew out of the post-AlphaZero wave of open source chess experimentation. The official site describes Lc0 as inspired by Google's Alpha Zero project, and the GitHub README describes the engine as the executable half of the LeelaChessZero project.

### 采用历史

The project became important beyond ordinary package installation because users could both run the engine and contribute self-play training games. The README says the training server enforces game quality using client and engine versions, and the official site separates downloading the engine from downloading a neural network.

### 使用方式

Users typically run lc0 through a chess GUI or UCI-compatible interface, pairing the engine binary with a downloaded network. The README documents CPU and GPU backends including BLAS, CUDA, cuDNN, ONNX, Apple's Metal Performance Shaders, and experimental SYCL support.

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

lc0 is a rare package-manager-facing chess engine whose useful artifact is not just code but a code-plus-weights ecosystem. It also represents a major open source response to AlphaZero: a reproducible, community-run neural-network chess engine distributed through source, binary releases, and operating-system package managers.

### 时间线

- 2018-05-30: GitHub lc0 repository created.
- 2018-11-19: Official blog announced lc0 v0.19.0.
- 2018-12-07: Official blog discussed AlphaZero paper details and lc0 v0.19.1.
- 2019-05-28: Official blog announced that Lc0 won TCEC 15.
- 2023-01-15: Official blog summarized 2022 progress, including contributors, search changes, network architecture changes, and new backends.
- 2025-11-23: Release v0.32.1 published.

### Related projects

- The official docs relate lc0 to AlphaZero, the LeelaChessZero training network, chess GUIs such as Nibbler, UCI-compatible chess tooling, TCEC competition, and backends such as CUDA, ONNX, BLAS, Metal, and SYCL.

### 来源

- <https://api.github.com/repos/LeelaChessZero/lc0>
- <https://github.com/LeelaChessZero/lc0>
- <https://github.com/LeelaChessZero/lc0/releases>
- <https://lczero.org/>
- <https://lczero.org/blog/2018/12/alphazero-paper-and-lc0-v0191/>
- <https://lczero.org/blog/2019/05/lc0-won-tcec-15/>
- <https://lczero.org/blog/2023/01/2022-progress/>
- <https://lczero.org/dev/wiki/what-is-lc0/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - lc0: normalized package name match | nixpkgs package indexes: pkgs/by-name/lc/lc0/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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