A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
5,212
stars
3,283
commits
Elixir
primary language
Aug 26, 2026
updated
Credo is a static code analysis tool for the Elixir language with a focus on teaching and code consistency.
It can show you refactoring opportunities in your code, complex code fragments, warn you about common mistakes, show inconsistencies in your naming scheme and - if needed - help you enforce a desired coding style.

The easiest way to add Credo to your project is by using Mix.
Add :credo as a dependency to your project's mix.exs:
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
And run:
$ mix deps.get
$ mix credo
Documentation is available on Hexdocs
Some IDEs and editors are able to run Credo in the background and mark issues inline.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)René Föhring (@rrrene)
Credo is released under the MIT License. See the LICENSE file for further details.
(top 30 of 237)
Elixir
99.5%
A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
5,212
stars
3,283
commits
Elixir
primary language
Aug 26, 2026
updated
Credo is a static code analysis tool for the Elixir language with a focus on teaching and code consistency.
It can show you refactoring opportunities in your code, complex code fragments, warn you about common mistakes, show inconsistencies in your naming scheme and - if needed - help you enforce a desired coding style.

The easiest way to add Credo to your project is by using Mix.
Add :credo as a dependency to your project's mix.exs:
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
And run:
$ mix deps.get
$ mix credo
Documentation is available on Hexdocs
Some IDEs and editors are able to run Credo in the background and mark issues inline.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)René Föhring (@rrrene)
Credo is released under the MIT License. See the LICENSE file for further details.
(top 30 of 237)
Elixir
99.5%