# clazy を Homebrew, apk, apt, dnf, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:clazy
```

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

### macOS

- Homebrew (100%):

```sh
brew install clazy
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add clazy
```

  証拠: Alpine Linux edge package indexes: clazy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install clazy
```

  証拠: Debian stable package indexes: clazy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install clazy
```

  証拠: Fedora Rawhide package metadata: clazy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#clazy
```

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

- pacman (92%):

```sh
sudo pacman -S clazy
```

  証拠: Arch Linux sync databases: clazy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install clazy
```

  証拠: openSUSE Tumbleweed package metadata: clazy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:clazy
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/clazy>
- **バージョン:** 1.17.1
- **ソース概要:** Qt oriented static code analyzer
- **ホームページ:** <https://www.kdab.com/>
- **上流ドキュメント:** <https://www.kdab.com/>
- **ライセンス:** LGPL-2.0-or-later
- **ソースアーカイブ:** <https://invent.kde.org/sdk/clazy/-/archive/v1.17.1/clazy-v1.17.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- clazy (cli)
- clazy-standalone (cli)
- clazy (エイリアス)
- clazy-standalone (エイリアス)

## 依存関係

- coreutils
- llvm

## ビルド依存関係

- cmake

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.17.1
- ローカルデータ: OK
- 上流リポジトリ: https://www.kdab.com/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Clazy is a Qt-oriented static analyzer built as a Clang compiler plugin and standalone tool. Its upstream README describes it as giving Clang Qt semantics and adding more than 50 Qt-related warnings, including checks for unnecessary allocations, API misuse, and automatic fix-its.

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

The upstream changelog records a 0.0.1 first release on 2015-06-10 and a 1.0 release on 2016-09-12. Subsequent releases expanded platform support, check coverage, fix-its, and standalone compilation-database use.

Clazy was originally associated with KDAB-oriented Qt development workflows and is now hosted under KDE's SDK namespace. The current KDE project description calls it a Qt-oriented static code analyzer based on the Clang framework.

### 採用の歴史

The README documents Linux, Windows, MacPorts, and Homebrew build paths, and the batch package metadata lists Alpine, Homebrew, Debian, Fedora, Nix, Arch, Ubuntu, and openSUSE packages. That distribution spread reflects adoption by Qt/C++ developers who want analyzer checks packaged with their compiler toolchains.

Release history shows ongoing updates for modern LLVM and Qt versions, including LLVM 19-22 compatibility work, Qt 6 porting changes, and integration into clang-tidy in the 1.16 series.

### 使われ方

Clazy is used either as a compiler wrapper/plugin or via clazy-standalone against a JSON compilation database. The README shows CMake and qmake usage, check levels, environment-variable and compiler-argument selection of checks, fix-it support, and warning-noise controls.

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

Clazy is a classic packaging edge case: it sits at the intersection of Qt, Clang/LLVM ABI compatibility, compiler plugins, IDE integration, and distro compiler versions. Package maintainers care because a clazy build must match supported LLVM/Clang ranges while still being useful across Qt 5 and Qt 6 codebases.

### タイムライン

- 2015: Version 0.0.1 first release.
- 2016: Version 1.0 release.
- 2017: Version 1.1 adds macOS and Windows support.
- 2017: Version 1.2 adds clazy-standalone for JSON compilation databases.
- 2021: Version 1.10 requires C++17.
- 2025: Version 1.16 adds clang-tidy integration.
- 2026: Version 1.17 continues Qt and LLVM compatibility work.

### Related projects

- Clang and LLVM provide the compiler framework and plugin surface.
- Qt is the target application framework whose idioms and APIs Clazy checks.
- clang-tidy is a related analyzer integration point introduced by Clazy 1.16.
- KDE hosts the active upstream repository under its SDK namespace.

### ソース

- <https://invent.kde.org/sdk/clazy/-/blob/master/README.md>
- <https://invent.kde.org/sdk/clazy/-/blob/master/Changelog>
- <https://invent.kde.org/api/v4/projects/sdk%2Fclazy>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

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

- Debian apt - clazy - 1.14-1: normalized package name match | Debian stable package indexes: clazy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Clang plugin for additional warnings | https://www.kdab.com/clazy-video/
- Debian apt - clazy-tests - 1.14-1: normalized package name match | Debian stable package indexes: clazy-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | test files for Clazy | https://www.kdab.com/clazy-video/
- Nix - clazy: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clazy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - clazy - 1.11-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: clazy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Clang plugin for additional warnings | https://www.kdab.com/clazy-video/
- Ubuntu apt - clazy-tests - 1.11-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: clazy-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | test files for Clazy | https://www.kdab.com/clazy-video/
- apk - clazy - 1.17.1-r1: normalized package name match | Alpine Linux edge package indexes: clazy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Qt oriented code checker based on clang framework | https://invent.kde.org/sdk/clazy
- apk - clazy-doc - 1.17.1-r1: normalized package name match | Alpine Linux edge package indexes: clazy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Qt oriented code checker based on clang framework (documentation) | https://invent.kde.org/sdk/clazy
- dnf - clazy - 1.17-3.fc45: normalized package name match | Fedora Rawhide package metadata: clazy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Qt oriented code checker based on clang framework | https://invent.kde.org/sdk/clazy
- pacman - clazy - 1.17.1-1: normalized package name match | Arch Linux sync databases: clazy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Qt oriented code checker based on clang framework | https://www.kdab.com/
- zypper - clazy - 1.17.1-1.10: normalized package name match | openSUSE Tumbleweed package metadata: clazy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Qt oriented code checker based on the Clang framework | https://apps.kde.org/clazy/


## 関連リンク

- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [coreutils](https://pkg.so/ja/brew/coreutils/) - Runtime dependency declared by Homebrew.
- [llvm](https://pkg.so/ja/brew/llvm/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [clangql](https://pkg.so/ja/brew/clangql/) - Shares pkgdb curated category or tags: clang, cli, cpp, developer-tools, static-analysis.
- [shellcheck](https://pkg.so/ja/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [semgrep](https://pkg.so/ja/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [periphery](https://pkg.so/ja/brew/periphery/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [cppcheck](https://pkg.so/ja/brew/cppcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [pyright](https://pkg.so/ja/brew/pyright/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [eslint](https://pkg.so/ja/brew/eslint/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [ktlint](https://pkg.so/ja/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [include-what-you-use](https://pkg.so/ja/brew/include-what-you-use/) - Local package facts share a topical domain. Shared terms: analysis, clang, cli, code, cpp.
- [esbmc](https://pkg.so/ja/brew/esbmc/) - Local package facts share a topical domain. Shared terms: analysis, cli, cpp, developer, developer-tools.

## Combined YAML source

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


## ソース

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