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

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

## インストール

```sh
sudo av install brew:fortls
```

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

### macOS

- Homebrew (100%):

```sh
brew install fortls
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fortls
```

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

## パッケージ情報

- **パッケージキー:** brew:fortls
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.2.2
- **ソース概要:** Fortran language server
- **ホームページ:** <https://fortls.fortran-lang.org/>
- **リポジトリ:** <https://github.com/fortran-lang/fortls>
- **最終更新:** 2026-06-13T01:24:12+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fortls (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

fortls is the Fortran Language Server, a Python implementation of the Language Server Protocol for Fortran. It provides editor features such as symbols, hover, signature help, completion, go-to definition, references, rename, diagnostics, and code actions.

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

The fortran-lang/fortls repository was created in October 2021. The README says the project was originally based on hansec/fortran-language-server, but later diverged and is now developed independently with additional features and fixes.

The official README also states that fortls has reached a feature-complete and stable maintenance phase while Fortran-lang work explores a newer language server based on LFortran for deeper syntax understanding.

### 採用の歴史

fortls is designed for any editor that supports LSP. The official README names Visual Studio Code, Atom, Sublime Text, Vim/Neovim/gVim, and Emacs integrations, reflecting adoption through editor plugins rather than only command-line invocation.

### 使われ方

Users install fortls with pip or conda-forge and point an editor's LSP client at the fortls executable. Configuration can be supplied through command-line options or JSON configuration files such as .fortlsrc, .fortls.json, or .fortls at a project root.

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

fortls is significant because it gives Fortran the same LSP packaging shape familiar from newer language ecosystems: a standalone server executable, Python package distribution, conda-forge availability, editor-neutral protocol support, and project-local configuration.

### タイムライン

- 2021: fortran-lang/fortls repository created.
- 2022: 2.x release series published.
- 2024: 3.0.0 release published.
- 2025: 3.2.2 release published.

### Related projects

- fortls is historically related to hansec/fortran-language-server and is part of the Fortran-lang ecosystem. The README points to future LFortran-based language-server work as the planned path for deeper Fortran syntax and semantic support.

### ソース

- <https://api.github.com/repos/fortran-lang/fortls>
- <https://api.github.com/repos/fortran-lang/fortls/releases?per_page=20>
- <https://fortls.fortran-lang.org/>
- <https://fortls.fortran-lang.org/fortls_changes.html>
- <https://fortls.fortran-lang.org/options.html>
- <https://github.com/fortran-lang/fortls>
- <https://raw.githubusercontent.com/fortran-lang/fortls/master/README.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool 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: root_path/.fortlsrc, root_path/.fortls.json, root_path/.fortls
## 他のパッケージマネージャ記録

- Nix - fortls: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/fortls/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/fortls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fortls.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
