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 bunSupported customizations
| Option | CLI flags | Type / values | Default | Notes |
|---|---|---|---|---|
| Frontend template | --template <template> | react-ts React + TypeScriptreact Reactvue-ts Vue + TypeScriptvue Vuesvelte-ts Svelte + TypeScriptsvelte Sveltevanilla-ts Vanilla + TypeScriptvanilla Vanilla | react-ts | Choose the frontend framework template for the Tauri app. |
--yes defaults
| Key | value |
|---|---|
| template | react-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-appvia--manager. - After scaffolding, Scafix installs dependencies with the same package manager.
Shared flow reminder
- Shared flags such as
--name,--directory,--package-manager,--git, and--debugapply 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.
