Skip to content

extrordinaire/create-tauri-app

 
 

Repository files navigation

Rapidly scaffold out a new Tauri app project.

status Chat Server website https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg support

Usage

With Bash:

sh <(curl https://create.tauri.app/sh)
# or
sh <(wget https://create.tauri.app/sh)

With Powershell:

iwr https://create.tauri.app/ps | iex

With Cargo:

cargo install create-tauri-app
cargo create-tauri-app

With NPM:

npm create tauri-app@latest

With Yarn:

yarn create tauri-app

With PNPM:

pnpm create tauri-app

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run:

# curl
sh <(curl https://create.tauri.app/sh) --template svelte
# wget
sh <(wget https://create.tauri.app/sh) --template svelte
# cargo
cargo create-tauri-app --template svelte
# npm 6.x
npm create tauri-app@latest my-tauri-app --template svelte
# npm 7+, extra double-dash is needed:
npm create tauri-app@latest my-tauri-app -- --template svelte
# yarn
yarn create tauri-app my-tauri-app --template svelte
# pnpm
pnpm create tauri-app my-tauri-app --template svelte

Currently supported template presets include:

  • vanilla
  • vue
  • vue-ts
  • react
  • react-ts
  • svelte
  • svelte-ts
  • solid
  • solid-ts
  • yew
  • next
  • next-ts
  • preact
  • preact-ts

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

About

Rapidly scaffold out a new tauri app project.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 27.9%
  • Rust 25.0%
  • JavaScript 22.5%
  • TypeScript 9.9%
  • HTML 5.3%
  • Vue 3.2%
  • Other 6.2%