Add it in Tori
- Open Settings with the gear in the title bar.
- Go to Formatters.
- oxfmt 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 copy your project already installs.
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 oxfmt.toml
~/.config/tori/packs/formatters/
The file
oxfmt.tomlRead only
1# oxfmt, from the project's own install. See FORMATTERS.md.2#3# No `extensions`: a file oxfmt has no parser for comes back as exit 1 with the4# message below, which hands the file on. A syntax error is exit 2.56schema_version = 17id = "oxfmt"8label = "oxfmt"9description = "Format JavaScript and TypeScript with oxfmt"10license = "Apache-2.0"11contributor = { name = "Tori", github = "gettori" }1213# Above Prettier: `oxfmt --migrate prettier` writes an .oxfmtrc.json and leaves14# the .prettierrc where it was.15priority = 101617verified_against = "oxfmt 0.70.0"18verified_on = "2026-09-21"1920[markers]21# Read from the binary, and each confirmed to change the output.22files = [".oxfmtrc.json", ".oxfmtrc.jsonc", "oxfmt.config.ts", "oxfmt.config.mts"]2324[launch]25kind = "project_bin"26program = "oxfmt"27args = ["--stdin-filepath", "{file}"]2829[not_applicable]30exit_code = 131stderr = "Unsupported file type"