# tofu-ls mit Homebrew, apk, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tofu-ls in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:tofu-ls
- **Paketmanager:** Homebrew
- **Version:** 0.5.3
- **Quellzusammenfassung:** OpenTofu Language Server
- **Homepage:** <https://opentofu.org>
- **Repository:** <https://github.com/opentofu/tofu-ls>
- **Zuletzt aktualisiert:** 2026-07-26T00:51:25+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- tofu-ls (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.5.3
## Projektgeschichte und Nutzung

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

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

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


## Quellen

- 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
