# Install checkstyle

Check Java source against a coding standard. Version 13.5.0 via Homebrew; verified 2026-05-30.

## Install

```sh
sudo av install brew:checkstyle
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install checkstyle
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install checkstyle
```

  Evidence: MacPorts ports tree: java/checkstyle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install checkstyle
```

  Evidence: Debian stable package indexes: checkstyle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#checkstyle
```

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

## Package Facts

- **Package key:** brew:checkstyle
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/checkstyle>
- **Version:** 13.5.0
- **Source summary:** Check Java source against a coding standard
- **Homepage:** <https://checkstyle.sourceforge.io/>
- **Repository:** <https://github.com/checkstyle/checkstyle>
- **Upstream docs:** <https://checkstyle.org/checks.html>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://github.com/checkstyle/checkstyle/releases/download/checkstyle-13.5.0/checkstyle-13.5.0-all.jar>
- **Last updated:** 2026-05-30T23:43:56Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- checkstyle (cli)
- checkstyle (alias)

## Dependencies

- openjdk

## Install Behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 13.5.0
- Package-manager updated: 2026-05-30
- Local data status: ok
- Upstream repository: https://github.com/checkstyle/checkstyle
- info: No cached GitHub release or tag data was available.

## 安全说明

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

- Debian apt - checkstyle - 8.36.1-1: normalized package name match | Debian stable package indexes: checkstyle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | checks Java source against a coding standard | https://checkstyle.sourceforge.io/
- Debian apt - checkstyle-doc - 8.36.1-1: normalized package name match | Debian stable package indexes: checkstyle-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Documentation for Checkstyle | https://checkstyle.sourceforge.io/
- Nix - checkstyle: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/checkstyle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - checkstyle - 8.36.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: checkstyle from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | checks Java source against a coding standard | https://checkstyle.sourceforge.io/
- Ubuntu apt - checkstyle-doc - 8.36.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: checkstyle-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for Checkstyle | https://checkstyle.sourceforge.io/
- MacPorts - checkstyle: normalized package name match | MacPorts ports tree: java/checkstyle/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [pmd](https://www.automicvault.com/zh-hans/pkg/brew/pmd/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, java, static-analysis.
- [hlint](https://www.automicvault.com/zh-hans/pkg/brew/hlint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [detekt](https://www.automicvault.com/zh-hans/pkg/brew/detekt/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [spotbugs](https://www.automicvault.com/zh-hans/pkg/brew/spotbugs/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, java, static-analysis.
- [wartremover](https://www.automicvault.com/zh-hans/pkg/brew/wartremover/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [credo](https://www.automicvault.com/zh-hans/pkg/brew/credo/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [swiftlint](https://www.automicvault.com/zh-hans/pkg/brew/swiftlint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [shellcheck](https://www.automicvault.com/zh-hans/pkg/brew/shellcheck/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.

## Sources

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