Skip to content

Tauri

Scaffold a Tauri desktop app via the official create-tauri-app CLI

Primary commands

bash
npx scafix create tauri
npx scafix create tauri --template vue-ts
npx scafix create tauri --template svelte --package-manager bun

Supported customizations

OptionCLI flagsType / valuesDefaultNotes
Frontend template--template <template>react-ts React + TypeScript
react React
vue-ts Vue + TypeScript
vue Vue
svelte-ts Svelte + TypeScript
svelte Svelte
vanilla-ts Vanilla + TypeScript
vanilla Vanilla
react-tsChoose the frontend framework template for the Tauri app.

--yes defaults

Keyvalue
templatereact-ts

Notes

  • Running the generated desktop app still requires the native Rust toolchain that Tauri expects.
  • Scafix forwards the selected package manager to create-tauri-app via --manager.
  • After scaffolding, Scafix installs dependencies with the same package manager.

Shared flow reminder

  • Shared flags such as --name, --directory, --package-manager, --git, and --debug apply here as well.
  • If required values are omitted and a TTY is available, Scafix prompts for them before calling the stack adapter.
  • See CLI Reference for the shared command surface used by scafix.

Released under the MIT License.