# Install clazy with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Qt oriented static code analyzer. Version 1.17.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install clazy
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add clazy
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: clazy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:clazy
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/clazy>
- **Version:** 1.17.1
- **Source summary:** Qt oriented static code analyzer
- **Homepage:** <https://www.kdab.com/>
- **Repository:** <https://invent.kde.org/sdk/clazy>
- **Upstream docs:** <https://invent.kde.org/sdk/clazy/-/blob/master/README.md>
- **License:** LGPL-2.0-or-later
- **Source archive:** <https://invent.kde.org/sdk/clazy/-/archive/v1.17.1/clazy-v1.17.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- clazy (cli)
- clazy-standalone (cli)
- clazy (alias)
- clazy-standalone (alias)

## Dependencies

- coreutils
- llvm

## Build dependencies

- cmake

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.17.1
- Local data: ok
- Upstream repository: https://www.kdab.com/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.6: normalized package name match | openSUSE Tumbleweed package metadata: clazy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Qt oriented code checker based on the Clang framework | https://apps.kde.org/clazy/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [coreutils](https://www.automicvault.com/pkg/brew/coreutils/) - Runtime dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [clangql](https://www.automicvault.com/pkg/brew/clangql/) - Shares av.db curated category or tags: clang, cli, cpp, developer-tools, static-analysis.
- [include-what-you-use](https://www.automicvault.com/pkg/brew/include-what-you-use/) - Shares av.db curated category or tags: clang, cli, cpp, developer-tools, static-analysis.
- [clang-include-graph](https://www.automicvault.com/pkg/brew/clang-include-graph/) - Shares av.db curated category or tags: clang, cli, cpp, developer-tools.
- [boost-bcp](https://www.automicvault.com/pkg/brew/boost-bcp/) - Shares av.db curated category or tags: cli, cpp, developer-tools.
- [cabin](https://www.automicvault.com/pkg/brew/cabin/) - Shares av.db curated category or tags: cli, cpp, developer-tools.
- [cflow](https://www.automicvault.com/pkg/brew/cflow/) - Shares av.db curated category or tags: cli, developer-tools, static-analysis.
- [checkstyle](https://www.automicvault.com/pkg/brew/checkstyle/) - Shares av.db curated category or tags: cli, developer-tools, static-analysis.
- [conan](https://www.automicvault.com/pkg/brew/conan/) - Shares av.db curated category or tags: cli, cpp, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/clazy.yml](https://github.com/automic-vault/db/blob/main/combined/clazy.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
