Usage
Bash:
sh <(curl https://create.tauri.app/sh)
or
sh <(wget https://create.tauri.app/sh)
Powershell:
irm https://create.tauri.app/ps | iex
Cargo:
NPM:
Yarn:
PNPM:
Bun:
You can also directly specify the project name, package manager and the template you want to use via additional command line options. For example, to scaffold a Svelte project in a my-tauri-app
directory, run:
# curl
# wget
# powershell
$env:CTA_ARGS="--template svelte --manager pnpm"; |
# cargo
# npm 6.x
# npm 7+, extra double-dash is needed:
# yarn
# pnpm
# Bun
Currently supported template presets include:
vanilla
vanilla-ts
vue
vue-ts
svelte
svelte-ts
react
react-ts
solid
solid-ts
angular
yew
leptos
sycamore
You can use .
for the project name to scaffold in the current directory.
Semver
create-tauri-app is following Semantic Versioning 2.0.
Licenses
Code: (c) 2022 - The Tauri Programme within The Commons Conservancy.
MIT or MIT/Apache 2.0 where applicable.
Logo: CC-BY-NC-ND
- Original Tauri Logo Designs by Daniel Thompson-Yvetot and Guillaume Chau