# tofu-ls を Homebrew, apk, Nix でインストール

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

## インストール

```sh
sudo av install brew:tofu-ls
```

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

### macOS

- Homebrew (100%):

```sh
brew install tofu-ls
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tofu-ls
```

  証拠: Alpine Linux edge package indexes: tofu-ls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#tofu-ls
```

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

## パッケージ情報

- **パッケージキー:** brew:tofu-ls
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.3
- **ソース概要:** OpenTofu Language Server
- **ホームページ:** <https://opentofu.org>
- **リポジトリ:** <https://github.com/opentofu/tofu-ls>
- **最終更新:** 2026-07-26T00:51:25+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tofu-ls (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

tofu-ls is the official OpenTofu language server, maintained by the OpenTofu Core Team to bring OpenTofu-aware editor features to LSP-compatible editors.

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

OpenTofu grew out of the Terraform licensing change of August 10, 2023; the OpenTofu manifesto says the fork was made public after HashiCorp did not restore an open-source license by August 25, 2023. OpenTofu later became a Linux Foundation project.

The tofu-ls README describes the server as a work-in-progress official language server, inspired by HashiCorp's terraform-ls and intended to deliver smaller incremental updates over time.

### 採用の歴史

OpenTofu reached its first stable release on January 10, 2024, as a production-ready, community-driven Terraform fork. As the OpenTofu ecosystem matured, official editor tooling became part of the project story.

The tofu-ls installation docs describe automatic installation through the OpenTofu VS Code and Zed extensions, manual installation from GitHub releases, and Homebrew installation for macOS and Linux. The input package facts also list apk, Homebrew, and Nix packaging.

### 使われ方

Users normally run tofu-ls through an editor or IDE plugin rather than invoking it directly. The usage docs cover OpenTofu and Terraform language IDs, .tf, .tofu, and .tfvars files, workspace indexing, completion, hover, formatting, semantic tokens, references, symbols, and editor-specific setup for Vim/Neovim, Emacs, VS Code, Zed, Kate, Helix, and other clients.

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

For package and editor-tooling users, tofu-ls is the small binary that lets OpenTofu fit into the standard LSP packaging pattern: install one executable with a package manager, point the editor client at it, and keep infrastructure-as-code feedback local to the editor.

### タイムライン

- 2023-08-10: HashiCorp changed Terraform from MPL to BUSL, according to the OpenTofu manifesto.
- 2023-08-25: The OpenTofu fork was created after the license-change appeal deadline described in the manifesto.
- 2024-01-10: OpenTofu 1.6.0 became the first stable, production-ready OpenTofu release.
- Current: tofu-ls is the official OpenTofu Core Team language server and is packaged for apk, Homebrew, and Nix in the input facts.

### Related projects

- OpenTofu is the infrastructure-as-code project that tofu-ls serves.
- terraform-ls is credited by tofu-ls as the starting point and inspiration for the OpenTofu language server.
- The OpenTofu VS Code and Zed extensions can install or manage tofu-ls for users.

### ソース

- <https://github.com/opentofu/tofu-ls#readme>
- <https://github.com/opentofu/tofu-ls/blob/main/docs/USAGE.md>
- <https://github.com/opentofu/tofu-ls/blob/main/docs/features.md>
- <https://github.com/opentofu/tofu-ls/blob/main/docs/installation.md>
- <https://opentofu.org/blog/opentofu-is-going-ga/>
- <https://opentofu.org/manifesto/>
- source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - tofu-ls: normalized package name match | nixpkgs package indexes: pkgs/by-name/to/tofu-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - tofu-ls - 0.5.3-r1: normalized package name match | Alpine Linux edge package indexes: tofu-ls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenTofu language server | https://github.com/opentofu/tofu-ls/
- apk - tofu-ls-doc - 0.5.3-r1: normalized package name match | Alpine Linux edge package indexes: tofu-ls-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenTofu language server (documentation) | https://github.com/opentofu/tofu-ls/


## Combined YAML source

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


## ソース

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