Add it in Tori
- Open Settings with the gear in the title bar.
- Go to Formatters.
- StyLua is already there: it ships inside Tori. When the catalog has a newer version, Add a formatter lists it with Update.
Adding writes one file and runs nothing. Tori runs the one already on your PATH.
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 stylua.toml
~/.config/tori/packs/formatters/
The file
stylua.tomlRead only
1# StyLua, from the login PATH. See FORMATTERS.md.23schema_version = 14id = "stylua"5label = "StyLua"6description = "Format Lua and Luau with StyLua"7license = "Apache-2.0"8contributor = { name = "Tori", github = "gettori" }9extensions = ["lua", "luau"]1011verified_against = "stylua 2.5.2"12verified_on = "2026-09-21"1314[markers]15files = ["stylua.toml", ".stylua.toml"]1617[launch]18kind = "path"19program = "stylua"20args = ["--stdin-filepath", "{file}", "-"]