# Credo

> Static code analysis for Elixir, with a focus on teaching and code consistency

Source: https://talira.ai/catalog/credo-163rrxe7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [René Föhring](https://talira.ai/orgs/rene-fohring.md)

Credo is a static code analysis tool for [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md). Added to a project as a dev dependency and run with mix credo, it points out refactoring opportunities, complex code, common mistakes and inconsistent naming, and can enforce a chosen coding style. Editors and IDEs (IntelliJ Elixir, a VS Code extension, Emacs flycheck, Neovim, Kakoune) can run it in the background and mark issues inline, and Codacy uses it for automated code review.

## Links

- GitHub: https://github.com/rrrene/credo
- Docs: https://hexdocs.pm/credo/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/credo>[^1]

## Problems it solves

- lint my Elixir code for consistency and common mistakes
- enforce a coding style across an Elixir team
- find overly complex functions in an Elixir project

## Features

- Finds refactoring opportunities and complex code fragments
- Warns about common mistakes and naming inconsistencies
- Can enforce a chosen coding style
- Runs as a mix task in a project
- Editor integrations mark issues inline

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.62, adoption 0.74, momentum 0.48, community 0.98, backing 0.30, extensibility 0.00.

- last commit 39 days ago
- 26 commits in the last 90 days
- latest release v1.7.19 5 months ago
- 5.2k GitHub stars
- 278 contributors
- 2 Homebrew installs in 30 days
- backed by René Föhring

## Related

- Works with [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md)

## Alternatives

- [Checkstyle](https://talira.ai/catalog/checkstyle-1d4c29e5.md): Checks Java source code against configurable coding-standard rules
- [Clippy](https://talira.ai/catalog/clippy-bkdfvrsx.md): The official Rust linter: 800+ lints for common mistakes and unidiomatic code
- [Stylelint](https://talira.ai/catalog/stylelint-3yp7yn7p.md): A CSS linter that catches errors and enforces conventions in your stylesheets
- [RuboCop RSpec](https://talira.ai/catalog/rubocop-rspec-qqbxpw4a.md): RuboCop extension with cops for RSpec test files
- [SwiftLint](https://talira.ai/catalog/swiftlint-9xkk742n.md): Linter that enforces Swift style and conventions, with auto-fix
- [Flake8](https://talira.ai/catalog/flake8-5xc1rb83.md): A Python linter that checks style and common errors by combining pycodestyle, pyflakes and McCabe

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 28 Nov 2026)
[^2]: https://github.com/rrrene/credo/blob/master/LICENSE (checked 28 Nov 2026)
