# zuban を Homebrew, Nix でインストール

zuban のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:zuban
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install zuban
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zuban
```

  証拠: nixpkgs package indexes: pkgs/by-name/zu/zuban/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:zuban
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/zuban>
- **バージョン:** 0.9.1
- **ソース概要:** Python language server and type checker, written in Rust
- **ホームページ:** <https://zubanls.com/>
- **リポジトリ:** <https://github.com/zubanls/zuban>
- **上流ドキュメント:** <https://zubanls.com/>
- **ライセンス:** AGPL-3.0-only
- **ソースアーカイブ:** <https://github.com/zubanls/zuban/archive/refs/tags/v0.9.1.tar.gz>
- **最終更新:** 2026-08-01T02:38:07Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- zmypy (cli)
- zuban (cli)
- zmypy (エイリアス)
- zuban (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.9.1
- マネージャ更新日: 2026-08-01
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/zubanls/zuban
- 検出された最新: v0.9.1 (最新)
## プロジェクトの歴史と使われ方

Zuban is a Python type checker and Language Server Protocol implementation written in Rust by David Halter, the creator of Jedi. It aims to combine mypy-compatible checking with a fast Python language server.

### プロジェクトの歴史

The ZubanLS homepage frames the project as a successor to lessons learned from Jedi. Halter says he created Jedi in 2012, then started over in 2020 to build ZubanLS in Rust after concluding that Jedi's architecture could not provide the performance needed for large projects.

Zuban became an open-source developer tool with a CLI and language server. Its README describes a high-performance Python language server and type checker, supporting diagnostics, completions, goto, references, rename, hover, document highlights, a Pyright-like default mode, and a mypy-compatible mode.

The documentation and changelog show rapid maturation through the 2025 beta and 2026 releases, especially around editor integration, sys.path handling, Django support, typed Python conformance, and mode selection between default and mypy-compatible behavior.

### 採用の歴史

Zuban's adoption niche is emerging rather than settled: it enters a crowded Python static-analysis field that includes mypy, Pyright/Pylance, basedpyright, ty, Pyrefly, Jedi, and editor-specific integrations. Its practical pitch is speed plus compatibility rather than a new type system.

The package is designed for developer workstations and editors. The docs cover installation with pip, direct use as zuban check or zuban mypy, the zmypy alias, and configuration for VSCode, Vim, Neovim, Helix, Zed, Emacs, Kate, and Sublime Text.

### 使われ方

Command-line users run zuban check for the default mode, zuban mypy or zmypy for mypy-compatible behavior, and zuban server for LSP integration. Configuration is read from pyproject.toml and mypy.ini, including [tool.zuban], [tool.mypy], mypy_path, and many mypy-compatible options.

Editor users configure the zuban or zubanls command as a Python language server. The docs describe LSP initialization options such as typeCheckingMode, disableLanguageServices, diagnosticMode, and pythonExecutable.

### パッケージ好きにとっての重要性

Zuban is package-nerd significant because it shows the current packaging shape of Python tooling: a Rust implementation shipped as a Python-installable command, exposing both CLI and editor-server workflows, while reading existing Python project config files.

It also represents the modern pressure on language tooling packages to be drop-in enough for existing mypy users while fast enough to compete with native editor language servers.

### タイムライン

- 2012: David Halter created Jedi, the project ZubanLS explicitly cites as its predecessor experience.
- 2020: Halter began building ZubanLS from the ground up in Rust.
- 2025-10-10: Zuban 0.1.0 beta release recorded in the changelog.
- 2026-04-06: Zuban 0.7.0 changed default/mypy mode behavior and improved Django and LSP support.
- 2026-06-23: Zuban 0.9.0 changelog entry records mode-selection fixes and additional mypy-compatible options.

### Related projects

- Related projects include Jedi, mypy, Pyright, Pylance, basedpyright, ty, Pyrefly, typeshed, Python LSP clients, VSCode, Neovim, Helix, Zed, Emacs, Kate, and Sublime Text.

### ソース

- <https://docs.zubanls.com/en/latest/>
- <https://docs.zubanls.com/en/latest/changelog.html>
- <https://docs.zubanls.com/en/latest/installation.html>
- <https://docs.zubanls.com/en/latest/usage.html>
- <https://github.com/zubanls/zuban>
- <https://raw.githubusercontent.com/zubanls/zuban/master/README.md>
- <https://zubanls.com/>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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: pyproject.toml, mypy.ini
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

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


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [ty](https://pkg.so/ja/brew/ty/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, rust.
- [pylyzer](https://pkg.so/ja/brew/pylyzer/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, python.
- [pyright](https://pkg.so/ja/brew/pyright/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, type-checker.
- [basedpyright](https://pkg.so/ja/brew/basedpyright/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, type-checker.
- [python-lsp-server](https://pkg.so/ja/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, python.
- [pyrefly](https://pkg.so/ja/brew/pyrefly/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, python, type-checker.
- [cmake-language-server](https://pkg.so/ja/brew/cmake-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, python.
- [just-lsp](https://pkg.so/ja/brew/just-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, rust.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
