# terraform-lsp を Homebrew, Nix でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:terraform-lsp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.0.12
- **ソース概要:** Language Server Protocol for Terraform
- **ホームページ:** <https://github.com/juliosueiras/terraform-lsp>
- **リポジトリ:** <https://github.com/juliosueiras/terraform-lsp>
- **最終更新:** 2026-07-26T00:50:35+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- terraform-lsp (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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

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

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

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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

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

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

- 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


## Combined YAML source

View the package source record on GitHub. [combined/terraform-lsp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/terraform-lsp.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
