pkg.soopen package index

brew / rank 3991

Install tofu-ls with Homebrew, apk, Nix

OpenTofu Language Server. Version 0.5.3 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#tofu-ls.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tofu-ls

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add tofu-ls

Alpine Linux edge package indexes · tofu-ls · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#tofu-ls

nixpkgs package indexes · pkgs/by-name/to/tofu-ls/package.nix · source: api.github.com

overview

Package summary

OpenTofu Language Server

Commands and aliases

  • tofu-ls

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:server

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tofu-lsexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version0.5.3
manager updated2026-07-26
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tofu-ls
Version0.5.3
Package managerHomebrew
Homepagehttps://opentofu.org
Repositoryhttps://github.com/opentofu/tofu-ls
Last updated2026-07-26T00:51:25+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

tofu-ls

nix profile install nixpkgs#tofu-ls
  • normalized package name match
  • Matched by: Tofu Ls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/to/tofu-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

tofu-ls 0.5.3-r1

OpenTofu language server

https://github.com/opentofu/tofu-ls/

sudo apk add tofu-ls
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: tofu-ls
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tofu Ls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tofu-ls from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

tofu-ls-doc 0.5.3-r1

OpenTofu language server (documentation)

https://github.com/opentofu/tofu-ls/

sudo apk add tofu-ls-doc
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: tofu-ls
  • normalized package name match
  • Matched by: Tofu Ls
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tofu-ls-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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