# Install terraform-lsp with Homebrew, Nix

Language Server Protocol for Terraform. Version 0.0.12 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:terraform-lsp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install terraform-lsp
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#terraform-lsp
```

  Evidence: nixpkgs package indexes: pkgs/by-name/te/terraform-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:terraform-lsp
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/terraform-lsp>
- **Version:** 0.0.12
- **Source summary:** Language Server Protocol for Terraform
- **Homepage:** <https://github.com/juliosueiras/terraform-lsp>
- **Repository:** <https://github.com/juliosueiras/terraform-lsp>
- **Upstream docs:** <https://github.com/juliosueiras/terraform-lsp#readme>
- **License:** MIT
- **Source archive:** <https://github.com/juliosueiras/terraform-lsp.git>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- terraform-lsp (cli)
- terraform-lsp (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.0.12
- Local data: ok
- Upstream repository: https://github.com/juliosueiras/terraform-lsp
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

terraform-lsp is an experimental Terraform Language Server Protocol implementation packaged as a command-line editor integration tool.

### Project history

The project repository was created in May 2019 and describes itself as a Language Server Protocol implementation for Terraform. Its README explicitly places it beside HashiCorp's terraform-ls, saying the two Terraform LSP repositories existed concurrently, with this repository focused on more experimental features while terraform-ls targeted stability.

The project shipped early 0.0.x releases in 2019 and reached Homebrew stable version 0.0.12. Its README lists editor support for Visual Studio Code, Atom, Vim, Sublime Text 3, IntelliJ, and Emacs, showing the project was aimed at the cross-editor LSP ecosystem rather than a single IDE plugin.

### Adoption history

Adoption appears to have been concentrated among Terraform users who wanted completion and diagnostics in editors before or alongside the more stable HashiCorp terraform-ls path. Homebrew and Nix packaging made the binary easy to install for package-manager users, but current Homebrew analytics show low recent install volume, consistent with a niche or legacy role.

### How it is used

The README describes Terraform-specific completion, provider configuration completion, dynamic error checking, module variable completion, and provider-binary communication. Users install the binary and configure their editor's LSP client to launch terraform-lsp.

### Why package nerds care

For package nerds, terraform-lsp is mostly interesting as an early Terraform LSP formula: a small Go binary distributed through Homebrew and Nix for editor automation, later living in the shadow of the more official terraform-ls ecosystem.

### Timeline

- 2019: GitHub repository created and v0.0.1 released.
- 2021: v0.0.12 published, the version currently packaged by Homebrew.
- 2026: Homebrew formula remains available, with low recent install counts.

### Related projects

- terraform-ls is the HashiCorp Terraform language server named by the terraform-lsp README as the stable counterpart.
- tfschema is credited by the README as an influence for provider communication.

### Sources

- <https://api.github.com/repos/juliosueiras/terraform-lsp>
- <https://api.github.com/repos/juliosueiras/terraform-lsp/releases>
- <https://formulae.brew.sh/api/formula/terraform-lsp.json>
- <https://github.com/juliosueiras/terraform-lsp#readme>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - terraform-lsp: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/terraform-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [terraform-ls](https://www.automicvault.com/pkg/brew/terraform-ls/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [dhall-lsp-server](https://www.automicvault.com/pkg/brew/dhall-lsp-server/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [efm-langserver](https://www.automicvault.com/pkg/brew/efm-langserver/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [fish-lsp](https://www.automicvault.com/pkg/brew/fish-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [gopls](https://www.automicvault.com/pkg/brew/gopls/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [jq-lsp](https://www.automicvault.com/pkg/brew/jq-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [pkl-lsp](https://www.automicvault.com/pkg/brew/pkl-lsp/) - Shares av.db curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [python-lsp-server](https://www.automicvault.com/pkg/brew/python-lsp-server/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, editor, editor-integration.

## Combined YAML source

View the package source record on GitHub. [combined/terraform-lsp.yml](https://github.com/automic-vault/db/blob/main/combined/terraform-lsp.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
