tauri-uitauri-ui

CLI options

Flags you can pass to create-tauri-ui.

Core flags

-t, --template <name>
    vite | next | start | react-router | astro

--identifier <value>
    set the Tauri app identifier

--preset <value>
    set the shadcn preset

-y, --yes
    accept defaults

-f, --force
    overwrite an existing target directory

-v, --version
    display version

-h, --help
    display help

Optional batteries

--starter / --no-starter
--invoke-example / --no-invoke-example
--workflow / --no-workflow
--size-optimize / --no-size-optimize

Example

bunx create-tauri-ui@latest my-app \
  --template vite \
  --preset b0 \
  --starter \
  --workflow \
  --size-optimize \
  --yes

Manage subcommands

For add, update, remove, and list (run inside an existing project):

--dir <path>           project directory (default: current working dir)
--target-os <list>     comma-separated platforms for the workflow battery
                       (windows-latest,macos-latest,ubuntu-latest)
-f, --force            overwrite an existing battery / skip safety checks
-y, --yes              accept defaults and skip confirmations

See Manage batteries for full reference and recipes.

On this page