Fortran
Analyze Fortran projects with FOSSA through the Fortran Package Manager (fpm) using the FOSSA CLI.
1 min readUpdated Jul 9, 2026
Overview
FOSSA supports Fortran projects through the Fortran Package Manager (fpm). Fortran is analyzed with the FOSSA CLI.
Tool support
| Tool | Quick Import (app.fossa.com) | CLI (fossa-cli) |
|---|---|---|
| Fortran (fpm) | N/A | fpm.toml |
Analyzing with the CLI
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 Fortran project with the Fortran Package Manager.
Analysis strategies
| Strategy | Direct Deps | Transitive Deps | Edges | Classifies Dev & Test Deps | Container Scanning |
|---|---|---|---|---|---|
| fpm | ✅ | ❌ | ❌ | ✅ | ✅ |
Project discovery
FOSSA finds files named fpm.toml. When an fpm.toml is found, FOSSA does not scan the build directory for additional Fortran projects.
Analysis
FOSSA parses the fpm.toml file to identify direct dependencies.
Note
- FOSSA does not report path dependencies.
- FOSSA does not report test or development dependencies.
- Only direct dependencies are reported.