Automic VaultAutomic Vault

brew

terraform-ls を Homebrew, MacPorts, Nix, scoop, winget でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install terraform-ls

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install terraform-ls

MacPorts ports tree · devel/terraform-ls/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#terraform-ls

nixpkgs package indexes · pkgs/by-name/te/terraform-ls/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/terraform-ls

Scoop official bucket manifest trees · bucket/terraform-ls.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Hashicorp.TerraformLanguageServer -e

Windows Package Manager source index · Hashicorp.TerraformLanguageServer · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Terraform Language Server

コマンドとエイリアス

  • terraform-ls

履歴

プロジェクトの歴史と使われ方

terraform-ls is HashiCorp's official Terraform language server. It implements IDE features for LSP-compatible editors, including Terraform-oriented completion, diagnostics, formatting-related editor flows, go-to-definition, and workspace indexing.

プロジェクトの歴史

The hashicorp/terraform-ls repository was created on GitHub in February 2020. The README identifies it as the official Terraform language server maintained by HashiCorp and says it provides IDE features to any editor compatible with the Language Server Protocol.

The project followed an incremental release model from the beginning. Its README says not all language features are available at any one time and describes the project as actively delivering smaller updates. It also credits prior research and language-server implementation work, including Julio Sueiras's terraform-lsp.

採用の歴史

terraform-ls became the common packaged binary behind Terraform editor integrations. Its installation docs say some editors install and update the server automatically, including HashiCorp's Terraform VS Code extension and Sublime Text LSP-terraform, while manual installation is available through Homebrew, HashiCorp's apt/RPM repositories, and release archives.

The input package facts list Homebrew, MacPorts, Nix, Scoop, and winget packaging. That multi-platform packaging matters because language servers must be discoverable by editors on developer workstations, not only by Terraform users inside a single operating-system or language package ecosystem.

使われ方

The normal interaction is through an IDE or editor plugin rather than by running ad hoc commands. The usage guide documents Terraform-related language IDs for `.tf`, `.tfvars`, Terraform Stack, Terraform Deploy, and Terraform Search files, and recommends opening folders so the server can index the workspace.

Manual editor configurations commonly invoke `terraform-ls serve`. The official usage guide includes examples for VS Code, Sublime Text, Vim, Neovim, coc.nvim, vim-lsp, YouCompleteMe, LanguageClient-neovim, and nvim-lspconfig.

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

terraform-ls is important to package-manager users because it turns Terraform editor support into a separately versioned, installable binary. That matches the broader LSP model: editors can remain thin clients while the domain-specific intelligence ships as a command-line server.

For infrastructure developers, having terraform-ls in Homebrew, Nix, MacPorts, Scoop, winget, and HashiCorp package repositories means editor setups can be made reproducible in dotfiles, devcontainers, and workstation bootstrap scripts.

タイムライン

  • 2020: GitHub repository created.
  • 2020: Early v0.5.x through v0.11.0 releases published.
  • 2020: Installation docs documented Homebrew and HashiCorp-maintained Linux packages.
  • 2026: v0.38.8 listed as the latest GitHub release during research.
  • 2026: v0.39.0 beta releases were also listed during research.

Related projects

  • The README ties terraform-ls to Terraform, HCL, the Language Server Protocol, HashiCorp's Terraform VS Code extension, Sublime Text LSP-terraform, and the earlier terraform-lsp implementation credited in the project.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:server

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
terraform-lscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版0.39.0
マネージャ更新日2026-07-23
ローカルデータOK
上流最新
検出された最新v0.39.0

https://github.com/hashicorp/terraform-ls

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:terraform-ls
バージョン0.39.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/terraform-ls
ホームページhttps://github.com/hashicorp/terraform-ls
リポジトリhttps://github.com/hashicorp/terraform-ls
上流ドキュメントhttps://github.com/hashicorp/terraform-ls#readme
ライセンスMPL-2.0
ソースアーカイブhttps://github.com/hashicorp/terraform-ls/archive/refs/tags/v0.39.0.tar.gz
最終更新2026-07-23T14:59:21Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterraform-ls
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

terraform-ls

nix profile install nixpkgs#terraform-ls
  • normalized package name match
  • 一致条件: Terraform Ls
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terraform-ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

terraform-ls

sudo port install terraform-ls
  • normalized package name match
  • 一致条件: Terraform Ls
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/terraform-ls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/terraform-ls

scoop install main/terraform-ls
  • normalized package name match
  • 一致条件: Terraform Ls
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/terraform-ls.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Hashicorp.TerraformLanguageServer

winget install --id Hashicorp.TerraformLanguageServer -e
  • normalized package name match
  • 一致条件: Terraform Ls
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Hashicorp.TerraformLanguageServer from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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