# Install codelimit with Homebrew

Your Refactoring Alarm. Version 0.21.0 via Homebrew; verified 2026-06-15.

## Install

```sh
sudo av install brew:codelimit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install codelimit
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:codelimit
- **Package manager:** Homebrew
- **Version:** 0.21.0
- **Source summary:** Your Refactoring Alarm
- **Homepage:** <https://getcodelimit.github.io>
- **Last updated:** 2026-06-15T10:20:13-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- codelimit (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.21.0
## Project history and usage

Code Limit is a small Python developer tool that describes itself as a refactoring alarm: it scans a codebase and warns when code has grown complex enough to merit refactoring.

### Project history

The project was created in 2022 by Rob van der Leek under the getcodelimit GitHub organization. Its README positions the tool around maintainability workflows rather than general linting, with standalone, pre-commit, and GitHub Action usage documented.

### Adoption history

Adoption appears niche but real: Homebrew distributes it as the codelimit formula, and the project publishes frequent 0.x releases. Homebrew analytics for the formula showed hundreds of installs over the prior year when checked for this enrichment run.

### How it is used

Users run the codelimit executable directly, wire it into pre-commit, or use it in CI to produce maintainability checks and badges. The project emphasizes low setup effort and documents configuration only for exceptions to its zero-configuration default.

### Why package nerds care

For package-manager users, Code Limit is notable as a narrow, packaged code-quality tool in the same ecosystem as formatters, linters, and pre-commit helpers. Its appeal is the Unix-friendly single-command workflow rather than ecosystem scale.

### Timeline

- 2022: Project copyright and public repository lineage begin.
- 2022: Tool is documented for standalone, pre-commit, and GitHub Action workflows.
- 2025: v0.21.0 release published on GitHub.
- 2026: Homebrew formula distributes codelimit 0.21.0.

### Related projects

- Related tools include pre-commit for local hooks, Ruff and Black as Python code-quality tools used in the project, and general complexity or maintainability analyzers that gate refactoring work.

### Sources

- <https://github.com/getcodelimit/codelimit>
- <https://getcodelimit.github.io>
- <https://formulae.brew.sh/api/formula/codelimit.json>


## Security Notes

No matching local secret-handling manifest was found for codelimit. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Combined YAML source

View the package source record on GitHub. [combined/codelimit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/codelimit.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
