macOS
brew install checkstylelocal Homebrew formula metadata
sudo port install checkstyleMacPorts ports tree · java/checkstyle/Portfile · source: api.github.com
brew / rank 2624
Check Java source against a coding standard. Version 13.9.0 via Homebrew; verified 2026-07-27. Also installable with debian: sudo apt install checkstyle.
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 | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:checkstyle |
|---|---|
| Version | 13.9.0 |
| Package manager | Homebrew |
| Homepage | https://checkstyle.sourceforge.io/ |
| Repository | https://github.com/checkstyle/checkstyle |
| Last updated | 2026-07-27T03:43:47Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.