# 使用 Homebrew, Nix 安装 fortitude

查看 fortitude 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fortitude
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fortitude
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fortitude
```

  证据: nixpkgs package indexes: pkgs/by-name/fo/fortitude/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fortitude
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fortitude>
- **版本:** 0.9.0
- **来源摘要:** Fortran linter
- **主页:** <https://fortitude.readthedocs.io/en/stable/>
- **仓库:** <https://github.com/PlasmaFAIR/fortitude>
- **上游文档:** <https://fortitude.readthedocs.io/en/latest/linter>
- **许可证:** MIT
- **源码归档:** <https://github.com/PlasmaFAIR/fortitude/archive/refs/tags/v0.9.0.tar.gz>
- **最后更新:** 2026-05-13T22:08:00Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- fortitude (cli)
- fortitude (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.9.0
- 管理器更新时间: 2026-05-13
- 本地数据: OK
- 上游仓库: https://github.com/PlasmaFAIR/fortitude
- 检测到的最新版本: v0.9.0 (当前)
## 项目历史与用法

Fortitude is a fast Fortran linter developed by PlasmaFAIR, written in Rust, installable through Python packaging, and inspired by Ruff. It combines tree-sitter-based parsing, over 100 lint rules, automatic fixes, multiple output formats, and editor integration through the Language Server Protocol.

### 项目历史

The repository was created in January 2024 and the first public release, 0.1.0, was published in September 2024. The README states that Fortitude is built upon Ruff ideas and code, and developed by PlasmaFAIR to improve sustainability of plasma-science research software.

From 0.7.0 onward, the README documents standalone installers in addition to PyPI and Rust-source installation. The 0.9.0 release was published in May 2026.

### 采用历史

Fortitude's README names open-source Fortran projects using it, including ADCIRC, CP2K, flexi, FTorch, MESA, OpenFMS, and a Met Office Fortran lint workflow. That adoption list positions it as a newer but already visible static-analysis tool in the scientific Fortran ecosystem.

### 使用方式

Users typically run fortitude check over a working tree or selected files, choose rules with select and ignore options, enable preview rules, request automatic fixes with --fix, and inspect rule explanations with fortitude explain. Configuration can live in fortitude.toml, .fortitude.toml, fpm.toml under extra.fortitude, or pyproject.toml under tool.fortitude.

### 为什么软件包爱好者会关心

Fortitude matters because it brings the Ruff-style fast-linter packaging model to Fortran: Rust implementation, Python-distributed command, standalone installers, pre-commit hooks, editor support, and CI-friendly output formats. It is a modern packaging story applied to a language ecosystem with a long scientific-code tail.

### 时间线

- 2024: GitHub repository created.
- 2024: 0.1.0 initial release published.
- 2025: 0.7.0 introduced documented standalone installers.
- 2026: 0.9.0 release published.

### Related projects

- Fortitude is explicitly inspired by Ruff and uses parts from Ruff under the MIT license. It also relates to tree-sitter, Fortran Package Manager configuration, fortitude-pre-commit, and Fortran-lang best-practice material.

### 来源

- <https://api.github.com/repos/PlasmaFAIR/fortitude>
- <https://api.github.com/repos/PlasmaFAIR/fortitude/releases?per_page=20>
- <https://fortitude.readthedocs.io/en/stable/>
- <https://fortitude.readthedocs.io/en/stable/configuration/>
- <https://github.com/PlasmaFAIR/fortitude>
- <https://raw.githubusercontent.com/PlasmaFAIR/fortitude/main/README.md>


## 安全说明

没有找到 fortitude 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: fortitude.toml, .fortitude.toml, fpm.toml, pyproject.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fortitude
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - fortitude: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/fortitude/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [dscanner](https://www.automicvault.com/zh-hans/pkg/brew/dscanner/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [errcheck](https://www.automicvault.com/zh-hans/pkg/brew/errcheck/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [eslint](https://www.automicvault.com/zh-hans/pkg/brew/eslint/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [ftnchek](https://www.automicvault.com/zh-hans/pkg/brew/ftnchek/) - Shares av.db curated category or tags: cli, developer-tools, fortran, static-analysis.
- [go-critic](https://www.automicvault.com/zh-hans/pkg/brew/go-critic/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [ktlint](https://www.automicvault.com/zh-hans/pkg/brew/ktlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [kube-linter](https://www.automicvault.com/zh-hans/pkg/brew/kube-linter/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.
- [luacheck](https://www.automicvault.com/zh-hans/pkg/brew/luacheck/) - Shares av.db curated category or tags: cli, developer-tools, linter, static-analysis.

## Combined YAML source

View the package source record on GitHub. [combined/fortitude.yml](https://github.com/automic-vault/db/blob/main/combined/fortitude.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
