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

ToolQuick Import (app.fossa.com)CLI (fossa-cli)
Fortran (fpm)N/Afpm.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 | bash

Then run fossa analyze from your repository's root directory to analyze your Fortran project with the Fortran Package Manager.

Analysis strategies

StrategyDirect DepsTransitive DepsEdgesClassifies Dev & Test DepsContainer 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

© 2026 FOSSA, Inc.support@fossa.com