macOS
brew install checkstylelocal Homebrew formula metadata
sudo port install checkstyleMacPorts ports tree · java/checkstyle/Portfile · source: api.github.com
brew
Check Java source against a coding standard. Version 13.7.0 via Homebrew; verified 2026-06-28.
install
brew install checkstylelocal Homebrew formula metadata
sudo port install checkstyleMacPorts ports tree · java/checkstyle/Portfile · source: api.github.com
sudo apt install checkstyleDebian stable package indexes · checkstyle · source: deb.debian.org
nix profile install nixpkgs#checkstylenixpkgs package indexes · pkgs/by-name/ch/checkstyle/package.nix · source: api.github.com
overview
Check Java source against a coding standard
history
Checkstyle is a long-running Java code-quality tool for checking source code against coding standards. It is one of the classic packaged Java developer tools: available as a command-line jar, Maven artifact, build-tool integration, and operating-system package.
The official site describes Checkstyle as a development tool that helps programmers write Java code adhering to a coding standard and automates checking tasks that would otherwise be manual. It is highly configurable and ships example configurations for Sun Code Conventions and Google Java Style.
The current GitHub repository was created in 2013, but the official site footer and release-note history identify the project as dating back to 2001. Modern releases continue under the checkstyle/checkstyle GitHub organization, with 13.7.0 published in June 2026.
Checkstyle is distributed through GitHub releases and Maven Central according to the official README and website. The batch metadata also lists Homebrew, Debian, Ubuntu, MacPorts, and Nix, reflecting its role as both a Java build dependency and a standalone command-line tool.
The README points users to Maven artifacts, command-line usage, configuration documentation, discussions, Stack Overflow, Google Groups, and contributor channels, evidence of a mature tool with both user and maintainer communities.
Typical command-line usage runs java -jar checkstyle-*-all.jar with a required configuration XML file and one or more files or folders. The official docs describe plain, XML, and SARIF output and the -c option for choosing the configuration.
In build systems, Checkstyle is commonly used through Maven or other Java build integrations to enforce project, company, Google, Sun, OpenJDK, or custom style rules.
Package nerds care about Checkstyle because it is a durable example of a Java quality tool that lives simultaneously in Maven Central, binary release pages, system package managers, and build plugins. It predates many modern linter ecosystems while still shipping frequent releases.
Its configuration model is also historically important: a tree of modules rooted at Checker, XML DTD/XSD validation, and style configuration files made it flexible enough for many organizations before language-server and formatter-first workflows became common.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
checkstyle | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/checkstyle/checkstyle
install metadata
| Package key | brew:checkstyle |
|---|---|
| Version | 13.7.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/checkstyle |
| 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.7.0/checkstyle-13.7.0-all.jar |
| Last updated | 2026-06-28T17:41:12Z |
| Pulse | updated |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
checkstyle 8.36.1-1
checks Java source against a coding standard
https://checkstyle.sourceforge.io/
sudo apt install checkstylecheckstyle-doc 8.36.1-1
Documentation for Checkstyle
https://checkstyle.sourceforge.io/
sudo apt install checkstyle-doccheckstyle
nix profile install nixpkgs#checkstylecheckstyle 8.36.1-1
checks Java source against a coding standard
https://checkstyle.sourceforge.io/
sudo apt install checkstylecheckstyle-doc 8.36.1-1
Documentation for Checkstyle
https://checkstyle.sourceforge.io/
sudo apt install checkstyle-doccheckstyle
sudo port install checkstylesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.