# Install wartremover with Homebrew

Flexible Scala code linting tool. Version 3.6.1 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:wartremover
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wartremover
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:wartremover
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wartremover>
- **Version:** 3.6.1
- **Source summary:** Flexible Scala code linting tool
- **Homepage:** <https://www.wartremover.org/>
- **Repository:** <https://github.com/wartremover/wartremover>
- **Upstream docs:** <https://github.com/wartremover/wartremover#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/wartremover/wartremover/archive/refs/tags/v3.6.1.tar.gz>
- **Last updated:** 2026-07-01T10:37:53Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wartremover (cli)
- wartremover (alias)

## Dependencies

- openjdk

## Build dependencies

- sbt

## 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: 3.6.1
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/wartremover/wartremover
- Upstream latest detected: v3.6.1 (current)
## Project history and usage

WartRemover is a Scala linting tool focused on compile-time detection of language features and idioms that a project wants to forbid. Its package-nerd identity is unusually direct: individual checks are called "warts", and users opt into sets of warts as errors or warnings in sbt, scalac, or the standalone command-line tool.

### Project history

The public GitHub repository was created on January 5, 2013. Brian McKenna's 2013 write-up for WartRemover 0.4 described a rewrite from a linter for features he considered bad into a more flexible framework for lint rules over Scala compiler trees, with wrappers for macros, the command line, and the compiler plugin.

The project later standardized around the wartremover organization and the wartremover.org documentation site. Current documentation presents the sbt plugin as the normal entry point, while still documenting use as a command-line tool, a manually configured compiler plugin, and a macro-derived checker.

### Adoption history

WartRemover occupies the compiler-plugin side of the Scala linting ecosystem. Scala Center's Scalafix documentation compares it with Scalafix, Scalastyle, and IntelliJ inspections, noting that WartRemover has more linter rules out of the box than Scalafix but does not automatically fix code.

### How it is used

Typical use is to add the sbt plugin and then configure `wartremoverErrors` or `wartremoverWarnings` in `build.sbt`. Projects commonly enable a stable or custom subset of warts, suppress checks with annotations for exceptional cases, or exclude generated source directories.

### Why package nerds care

For package managers, WartRemover represents the Scala compiler-plugin era of code-quality tooling: it is not just a formatter or external scanner, but a package that participates in compilation and can make disallowed constructs fail the build.

### Timeline

- 2013-01-05: Public GitHub repository created.
- 2013: WartRemover 0.4 write-up describes the flexible rule/traverser design.
- 2020s: Documentation continues to support sbt, command-line, manual compiler-plugin, and macro-based usage.

### Related projects

- Scalafix, Scalastyle, and IntelliJ Scala inspections cover adjacent Scala linting and refactoring workflows, while WartRemover's distinctive niche is compiler-driven configurable warts.

### Sources

- <https://api.github.com/repos/wartremover/wartremover>
- <https://brianmckenna.org/blog/wartremover_point_four>
- <https://scalacenter.github.io/scalafix/docs/users/related-projects.html>
- <https://www.wartremover.org/doc/install-setup.html>


## 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:** wartremover
- **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


## 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.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [sbt](https://www.automicvault.com/pkg/brew/sbt/) - Build dependency declared by Homebrew.
- [checkstyle](https://www.automicvault.com/pkg/brew/checkstyle/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [credo](https://www.automicvault.com/pkg/brew/credo/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [detekt](https://www.automicvault.com/pkg/brew/detekt/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [hlint](https://www.automicvault.com/pkg/brew/hlint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [scalastyle](https://www.automicvault.com/pkg/brew/scalastyle/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, scala, static-analysis.
- [datadog-static-analyzer](https://www.automicvault.com/pkg/brew/datadog-static-analyzer/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [eslint](https://www.automicvault.com/pkg/brew/eslint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [globstar](https://www.automicvault.com/pkg/brew/globstar/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.

## Combined YAML source

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