# Install lc0 with Homebrew, Nix

Open source neural network based chess engine. Version 0.32.1 via Homebrew; verified 2026-06-25.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lc0
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:lc0
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lc0>
- **Version:** 0.32.1
- **Source summary:** Open source neural network based chess engine
- **Homepage:** <https://lczero.org/>
- **Repository:** <https://github.com/LeelaChessZero/lc0>
- **Upstream docs:** <https://github.com/LeelaChessZero/lc0#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/LeelaChessZero/lc0.git>
- **Last updated:** 2026-06-25T13:37:48+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lc0 (cli)
- lc0 (alias)

## Dependencies

- eigen

## Build dependencies

- cmake
- meson
- ninja
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.32.1
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/LeelaChessZero/lc0
- info: No cached GitHub release or tag data was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lc0
- **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

## Other Package-Manager Records

- 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


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [stockfish](https://www.automicvault.com/pkg/brew/stockfish/) - Shares av.db curated category or tags: chess, chess-engine, cli, engine, games.
- [fairy-stockfish](https://www.automicvault.com/pkg/brew/fairy-stockfish/) - Shares av.db curated category or tags: chess, cli, engine, games, uci.
- [fairymax](https://www.automicvault.com/pkg/brew/fairymax/) - Shares av.db curated category or tags: chess, cli, engine, games.
- [gnu-chess](https://www.automicvault.com/pkg/brew/gnu-chess/) - Shares av.db curated category or tags: chess, cli, games, uci.
- [polyglot](https://www.automicvault.com/pkg/brew/polyglot/) - Shares av.db curated category or tags: chess, cli, games, uci.
- [cheops](https://www.automicvault.com/pkg/brew/cheops/) - Shares av.db curated category or tags: chess, cli, games.
- [xboard](https://www.automicvault.com/pkg/brew/xboard/) - Shares av.db curated category or tags: chess, cli, games.
- [fheroes2](https://www.automicvault.com/pkg/brew/fheroes2/) - Shares av.db curated category or tags: cli, engine, games.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
