Clojure
Analyze Clojure projects with FOSSA through the FOSSA CLI using Leiningen.
1 min readUpdated Jul 9, 2026
Overview
FOSSA supports Clojure projects built with Leiningen, the most common Clojure package manager. Clojure analysis is performed with the FOSSA CLI.
Tool support
| Tool | Quick Import (app.fossa.com) | CLI (fossa-cli) |
|---|---|---|
| Clojure (Leiningen) | N/A | project.clj |
Analyzing with the CLI
Clojure dependencies are specified in a project.clj manifest, which the lein tool uses to build a dependency graph and download the correct 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 Clojure project using Leiningen. See the Leiningen strategy reference for detection and analysis details.
Analysis strategies
| Strategy | Direct Deps | Transitive Deps | Edges | Container Scanning |
|---|---|---|---|---|
| lein deps | ✅ | ✅ | ✅ | ❌ |
- ✅, Supported when relevant data is available
- ❌, Not supported