Elixir
Analyze Elixir and Phoenix projects with FOSSA through the FOSSA CLI using Mix.
1 min readUpdated Jul 9, 2026
Overview
FOSSA supports Elixir projects (including Phoenix) through Mix, using the FOSSA CLI.
Tool support
| Tool | Quick Import (app.fossa.com) | CLI (fossa-cli) |
|---|---|---|
| Elixir (mix) | N/A | mix.exs |
Analyzing with the CLI
When developing in Elixir, Mix and Hex are most commonly used to manage dependencies.
Install the latest release of fossa-cli:
Shell
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bashThen run fossa analyze from your repository's root directory to analyze your Elixir project using Mix. See the mix strategy reference for detection and analysis details.
Analysis strategies
| Strategy | Direct Deps | Transitive Deps | Edges | Container Scanning |
|---|---|---|---|---|
| mix deps | ✅ | ✅ | ✅ | ❌ |
Note
Dependencies must be resolved with mix deps.get and compiled with mix compile (or at least mix deps.compile) before running analysis. Dependencies must be sourced from Git or from Hex; private Hex repositories are not currently supported.