Nim
Analyze Nim projects with FOSSA through the FOSSA CLI using the Nimble package manager.
1 min readUpdated Jul 9, 2026
Overview
FOSSA supports Nim projects that manage dependencies with Nimble, Nim's package manager. Nim analysis is performed with the FOSSA CLI.
Tool support
| Tool | Quick Import (app.fossa.com) | CLI (fossa-cli) |
|---|---|---|
| Nim (Nimble) | N/A | nimble.lock |
Analyzing with the CLI
Nimble pins dependencies in a nimble.lock file, which the FOSSA CLI parses to build the dependency graph. Direct dependencies are identified from the output of nimble dump --json.
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. See the Nimble strategy reference for detection, analysis details, and limitations.
Analysis strategies
| Strategy | Direct Deps | Transitive Deps | Edges | Container Scanning |
|---|---|---|---|---|
nimble.lock and nimble dump | ✅ | ✅ | ✅ | ❌ |
| nimble.lock | ⚠️ | ✅ | ✅ | ✅ |
- ✅, Supported when relevant data is available
- ⚠️, Partially supported
- ❌, Not supported