View Source Installation

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

Compatibility

Credo aims to stay compatible with the list of Elixir minor releases mentioned in the Elixir docs.

These are the releases that are actively tested on CI.

Please note that Credo sometimes stays technically compatible with even earlier versions coincidentally.