# Install fortitude with Homebrew, Nix

Fortran linter. Version 0.9.2 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#fortitude.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fortitude
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:fortitude
- **Package manager:** Homebrew
- **Version:** 0.9.2
- **Source summary:** Fortran linter
- **Homepage:** <https://fortitude.readthedocs.io/en/stable/>
- **Repository:** <https://github.com/PlasmaFAIR/fortitude>
- **Last updated:** 2026-07-22T12:19:56Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fortitude (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.9.2
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for fortitude. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

- 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


## Combined YAML source

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


## Sources

- 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
