# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tofu-ls>
- **バージョン:** 0.5.3
- **ソース概要:** OpenTofu Language Server
- **ホームページ:** <https://opentofu.org>
- **リポジトリ:** <https://github.com/opentofu/tofu-ls>
- **上流ドキュメント:** <https://opentofu.org>
- **ライセンス:** MPL-2.0
- **ソースアーカイブ:** <https://github.com/opentofu/tofu-ls/archive/refs/tags/v0.5.3.tar.gz>
- **最終更新:** 2026-07-26T00:51:25+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- tofu-ls (cli)
- tofu-ls (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.5.3
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/opentofu/tofu-ls
- 検出された最新: v0.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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tofu-ls
- **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 - 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/


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [terraform-ls](https://pkg.so/ja/brew/terraform-ls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, terraform.
- [terraform-lsp](https://pkg.so/ja/brew/terraform-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp, terraform.
- [terragrunt](https://pkg.so/ja/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [lua-language-server](https://pkg.so/ja/brew/lua-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [gopls](https://pkg.so/ja/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [tenv](https://pkg.so/ja/brew/tenv/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [jdtls](https://pkg.so/ja/brew/jdtls/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [python-lsp-server](https://pkg.so/ja/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, language-server, lsp.
- [actions-languageserver](https://pkg.so/ja/brew/actions-languageserver/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
