# fprettify を Homebrew, dnf, Nix でインストール

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

## インストール

```sh
sudo av install brew:fprettify
```

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

### macOS

- Homebrew (100%):

```sh
brew install fprettify
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install fprettify
```

  証拠: Fedora Rawhide package metadata: fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fprettify
```

  証拠: nixpkgs package indexes: pkgs/by-name/fp/fprettify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:fprettify
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3.7
- **ソース概要:** Auto-formatter for modern fortran source code
- **ホームページ:** <https://github.com/fortran-lang/fprettify/>
- **リポジトリ:** <https://github.com/fortran-lang/fprettify>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fprettify (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

fprettify is a Python-based auto-formatter for modern Fortran source code. Its official README emphasizes strict whitespace formatting, indentation, continuation alignment, comment spacing, and support for modern Fortran beginning with Fortran 90.

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

The official source headers identify Patrick Seewald and the CP2K developers group as early copyright holders for the formatter. GitHub redirects the former pseewald/fprettify repository to fortran-lang/fprettify, and the current repository is maintained under the Fortran-lang organization.

The release history begins with v0.1 in August 2016, reaches v0.3 in November 2016, and continues through v0.3.7 in November 2020. The README records the later Python 3 requirement and notes that Python 2.7 support is no longer present.

### 採用の歴史

Official installation instructions cover pip installation and conda-forge installation. The README also documents editor integration, especially Vim formatprg usage, and describes integration-test suites against external Fortran code bases.

### 使われ方

The command formats one or more files in place, can recurse through Fortran source trees, can write diffs or stdout instead of editing, and can be silenced for editor integration. With ConfigArgParse installed it reads ~/.fprettify.rc plus .fprettify.rc files in parent directories of the input file, starting from the current directory when reading stdin.

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

fprettify is significant because it brings the formatter-as-a-tool pattern to a language with long-lived formatting conventions and many legacy codebases. It is small, Python-packaged, editor-friendly, and useful in CI or pre-commit workflows for Fortran projects that want whitespace-only formatting by default.

### タイムライン

- 2016: v0.1 was published as the first GitHub release.
- 2016: v0.3 was published later the same year.
- 2018: v0.3.2 and v0.3.3 were published.
- 2019: v0.3.4 and v0.3.5 were published.
- 2020: v0.3.6 and v0.3.7 were published.

### Related projects

- The README names fypp preprocessor directives as supported input and ConfigArgParse as the optional dependency enabling configuration files. Its current home under fortran-lang places it near the Fortran Package Manager and other modern Fortran tooling.

### ソース

- <https://api.github.com/repos/fortran-lang/fprettify/releases?per_page=20>
- <https://github.com/pseewald/fprettify>
- <https://raw.githubusercontent.com/fortran-lang/fprettify/master/README.md>
- <https://raw.githubusercontent.com/fortran-lang/fprettify/master/fprettify/__init__.py>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: ~/.fprettify.rc, .fprettify.rc in parent directories of the input file, for stdin, .fprettify.rc search starts in the current directory
## 他のパッケージマネージャ記録

- Nix - fprettify: normalized package name match | nixpkgs package indexes: pkgs/by-name/fp/fprettify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - fprettify - 0.3.7-22.fc45: normalized package name match | Fedora Rawhide package metadata: fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Auto-formatter for modern Fortran source code | https://github.com/pseewald/fprettify
- dnf - python3-fprettify - 0.3.7-22.fc45: normalized package name match | Fedora Rawhide package metadata: python3-fprettify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python library for fprettify | https://github.com/pseewald/fprettify


## Combined YAML source

View the package source record on GitHub. [combined/fprettify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fprettify.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
