Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- Scala 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 scala.toml
~/.config/tori/packs/lsp/
The file
scala.tomlRead only
1# Scala via `metals`, which its own toolchain installs, so Tori2# offers a hint rather than an install. See LSP-SERVERS.md.34schema_version = 15id = "scala"6label = "Scala"7description = "Scala, through Metals"8license = "Apache-2.0"9contributor = { name = "Tori", github = "gettori" }10verified_against = "metals 1.6.9"11verified_on = "2026-10-09"12root_markers = ["build.sbt", "build.sc", "build.mill", ".git"]13request_timeout_ms = 1200001415# Imports the build through sbt, Mill or Bloop, which run build code.16runs_project_code = true1718[languages]19scala = "scala"20sc = "scala"21sbt = "scala"2223[launch]24kind = "path"25program = "metals"26args = []2728[install]29kind = "hint"30text = "Install it with `cs install metals` (Coursier)."31update = "cs update metals"32uninstall = "cs uninstall metals"