Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- Terraform is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.
Adding writes one file and runs nothing. Tori then shows how to install the tool itself.
Use it without the catalog
Download the file and drop it in the folder below. Tori loads it the next time it starts.
Download file terraform.toml
~/.config/tori/packs/lsp/
The file
terraform.tomlRead only
1# Terraform via `terraform-ls`, which its own toolchain installs, so Tori2# offers a hint rather than an install. See LSP-SERVERS.md.34schema_version = 15id = "terraform"6label = "Terraform"7description = "Terraform, through terraform-ls"8license = "Apache-2.0"9contributor = { name = "Tori", github = "gettori" }10verified_against = "terraform-ls 0.39.0"11verified_on = "2026-10-09"12root_markers = [".terraform", ".git"]1314# Asks the project's providers for their schemas, which runs them.15runs_project_code = true1617[languages]18tf = "terraform"19tfvars = "terraform-vars"2021[launch]22kind = "path"23program = "terraform-ls"24args = ["serve"]2526[install]27kind = "hint"28text = "Install it with `brew install hashicorp/tap/terraform-ls`."29update = "brew upgrade hashicorp/tap/terraform-ls"30uninstall = "brew uninstall hashicorp/tap/terraform-ls"