# fpm を Homebrew, MacPorts, Nix, scoop, winget でインストール

fpm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fpm
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fpm
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fpm
```

  証拠: MacPorts ports tree: devel/fpm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fpm
```

  証拠: nixpkgs package indexes: fpm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Scoop (92%):

```sh
scoop install extras/fpm
```

  証拠: Scoop official bucket manifest trees: bucket/fpm.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id FortranLang.fpm -e
```

  証拠: Windows Package Manager source index: FortranLang.fpm from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:fpm
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.13.0
- **ソース概要:** Package manager and build system for Fortran
- **ホームページ:** <https://fpm.fortran-lang.org>
- **リポジトリ:** <https://github.com/fortran-lang/fpm>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fpm (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.13.0
## プロジェクトの歴史と使われ方

Fortran Package Manager, usually called fpm, is the Fortran-lang community's package manager and build system for modern Fortran projects. Its official README says the tool aims to improve Fortran programmer experience by making projects easier to build, test, run, and distribute as dependencies.

### プロジェクトの歴史

fpm was developed inside the Fortran-lang organization as a Cargo-inspired tool for Fortran. The official README explicitly says its user interface is modeled after Rust's Cargo and that its long-term vision is to nurture a modern Fortran applications and libraries ecosystem.

The release history shows a rapid alpha sequence in 2020 and 2021, followed by continuing feature releases through the 2020s. The documentation now includes a manifest reference, registry workflows, dependency forms, metapackages, compile_commands.json output, and API documentation.

### 採用の歴史

Official install documentation and the README describe binary downloads for Windows, macOS, and Linux, availability through conda-forge, and a Homebrew tap. The README also points users to the fpm registry for existing packages, showing the project moving beyond a build wrapper into a package ecosystem.

### 使われ方

A new package starts with fpm new, which creates a project containing fpm.toml and source directories. Common commands include fpm build, fpm run, fpm test, and fpm install, while the manifest file declares package metadata, targets, dependencies, build options, and registry dependencies.

### パッケージ好きにとっての重要性

fpm matters to package nerds because it gives Fortran a first-party, language-community package and build workflow in the style of Cargo. It standardizes the fpm.toml manifest, dependency declarations, project layouts, test/example targets, registry use, and cross-platform binary distribution for a language that historically relied on ad hoc Makefiles and compiler-specific build recipes.

### タイムライン

- 2020: Early v0.1 alpha releases appeared on GitHub.
- 2021: v0.5.0 was published and a rolling current release tag was introduced.
- 2022: v0.6.0 and v0.7.0 continued the alpha-era package manager and build-system work.
- 2023: v0.8.x and v0.9.0 releases expanded the tool before the later 0.10 series.
- 2025: v0.12.0 was published; current docs describe registry dependencies and manifest features including shared/static library target types.
- 2026: v0.13.0 was published.

### Related projects

- The README relates fpm to Rust Cargo as a UI model, to the fpm-registry as the package source, to fortran-lang/homebrew-fortran for Homebrew installation, and explicitly distinguishes it from Jordan Sissel's unrelated fpm packaging tool.

### ソース

- <https://api.github.com/repos/fortran-lang/fpm/releases?per_page=20>
- <https://fpm.fortran-lang.org/>
- <https://fpm.fortran-lang.org/spec/manifest.html>
- <https://raw.githubusercontent.com/fortran-lang/fpm/main/README.md>


## セキュリティノート

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: fpm.toml
## 他のパッケージマネージャ記録

- Nix - fpm: normalized package name match | nixpkgs package indexes: fpm from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- MacPorts - fpm: normalized package name match | MacPorts ports tree: devel/fpm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/fpm: normalized package name match | Scoop official bucket manifest trees: bucket/fpm.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - FortranLang.fpm: normalized package name match | Windows Package Manager source index: FortranLang.fpm from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/fpm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fpm.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
