# Install credo with Homebrew

Static code analysis tool for the Elixir. Version 1.7.19 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:credo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install credo
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:credo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/credo>
- **Version:** 1.7.19
- **Source summary:** Static code analysis tool for the Elixir
- **Homepage:** <https://github.com/rrrene/credo>
- **Repository:** <https://github.com/rrrene/credo>
- **Upstream docs:** <https://github.com/rrrene/credo#readme>
- **License:** MIT
- **Source archive:** <https://github.com/rrrene/credo/archive/refs/tags/v1.7.19.tar.gz>
- **Last updated:** 2026-06-13T01:24:09+02:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- credo (cli)
- credo (alias)

## Dependencies

- elixir

## 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-09
- Package-manager version: 1.7.19
- Package-manager updated: 2026-06-13
- Local data: ok
- Upstream repository: https://github.com/rrrene/credo
- Upstream latest detected: v1.7.19 (current)
## Project history and usage

Credo is an Elixir static analysis tool focused on teaching and code consistency. It is commonly added as a Mix development/test dependency and run with mix credo to report refactoring opportunities, complex code, common mistakes, naming inconsistencies, and style issues.

### Project history

The official changelog identifies version 0.1.0 as the initial release. Early releases added CLI behavior, issue categories, per-function lint support, custom checks, generated configuration, and support for project-specific .credo.exs files.

### Adoption history

Credo became part of normal Elixir project hygiene because it fits the Mix workflow and publishes documentation on HexDocs. The README also documents editor and automated-code-review integrations, which helped make it useful both locally and in CI.

### How it is used

The README recommends adding {:credo, "~> 1.7", only: [:dev, :test], runtime: false} to mix.exs, running mix deps.get, and then running mix credo. Configuration is usually generated or maintained in .credo.exs.

### Why package nerds care

For package maintainers, Credo is the Elixir ecosystem's familiar lint-style dependency: it ships through Hex, exposes a Mix task, can fail CI through exit status, and has enough formatter and integration surface to appear in editor, CI, and code-review pipelines.

### Timeline

- 0.1.0: Initial release
- 0.2.0: Added non-zero exit status when issues are found
- 0.3.0: Added per-function lint support
- 0.4.0: Added custom check support and changed .credo.exs merging behavior
- 1.0.0: Stabilized the 1.x line with documentation and breaking changes for custom checks
- 1.7.0: Added SARIF output and check IDs

### Related projects

- The README lists editor integrations for JetBrains Elixir support, Atom, VS Code, flycheck, Kakoune, and Neovim/null-ls, plus Codacy for automated code review.

### Sources

- <https://github.com/rrrene/credo#readme>
- <https://hexdocs.pm/credo>
- <https://github.com/rrrene/credo/blob/master/CHANGELOG.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .credo.exs, config/.credo.exs
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** credo
- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [elixir](https://www.automicvault.com/pkg/brew/elixir/) - Runtime 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.
- [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.
- [wartremover](https://www.automicvault.com/pkg/brew/wartremover/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting, 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.
- [go-critic](https://www.automicvault.com/pkg/brew/go-critic/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [swiftlint](https://www.automicvault.com/pkg/brew/swiftlint/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-quality, developer.
- [vulture](https://www.automicvault.com/pkg/brew/vulture/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-quality, developer.

## Combined YAML source

View the package source record on GitHub. [combined/credo.yml](https://github.com/automic-vault/db/blob/main/combined/credo.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
