Automic VaultAutomic Vault

brew

Installer terraform-ls avec Homebrew, MacPorts, Nix, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de terraform-ls pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install terraform-ls

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install terraform-ls

MacPorts ports tree · devel/terraform-ls/Portfile · Source: api.github.com

Linux

Nixvérifié · 92%
nix profile install nixpkgs#terraform-ls

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

Windows

Scoopvérifié · 92%
scoop install main/terraform-ls

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

Windows Package Managervérifié · 92%
winget install --id Hashicorp.TerraformLanguageServer -e

Windows Package Manager source index · Hashicorp.TerraformLanguageServer · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Terraform Language Server

Commandes et alias

  • terraform-ls

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : blue

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

Classificateur de risque

risque blue · confiance moyen · tool

Pourquoi

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

Signaux

  • text:server

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
terraform-lscliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-26
version du gestionnaire0.39.0
gestionnaire mis à jour2026-07-23
données localesOK
amontà jour
dernière version détectéev0.39.0

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

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:terraform-ls
Version0.39.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/terraform-ls
Page d'accueilhttps://github.com/hashicorp/terraform-ls
Dépôthttps://github.com/hashicorp/terraform-ls
Docs amonthttps://github.com/hashicorp/terraform-ls#readme
LicenceMPL-2.0
Archive sourcehttps://github.com/hashicorp/terraform-ls/archive/refs/tags/v0.39.0.tar.gz
Dernière mise à jour2026-07-23T14:59:21Z
Pulseupdated
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

terraform-ls

nix profile install nixpkgs#terraform-ls
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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