Skip to content

Bratan613/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 changelog

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:

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

NPM:

npm create tauri-app@latest

Yarn:

yarn create tauri-app

PNPM:

pnpm create tauri-app

Bun:

bunx create-tauri-app

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
sh <(curl https://create.tauri.app/sh) my-tauri-app --template svelte --manager pnpm
# wget
sh <(wget https://create.tauri.app/sh) my-tauri-app --template svelte --manager pnpm
# powershell
$env:CTA_ARGS="--template svelte --manager pnpm";irm https://create.tauri.app/ps | iex
# cargo
cargo create-tauri-app my-tauri-app --template svelte --manager pnpm
# npm 6.x
npm create tauri-app@latest my-tauri-app --template svelte --manager pnpm
# npm 7+, extra double-dash is needed:
npm create tauri-app@latest my-tauri-app -- --template svelte --manager pnpm
# yarn
yarn create tauri-app my-tauri-app --template svelte --manager pnpm
# pnpm
pnpm create tauri-app my-tauri-app --template svelte --manager pnpm
# Bun
bunx create-tauri-app my-tauri-app --template svelte --manager 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
  • blazor

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 57.4%
  • Shell 20.5%
  • JavaScript 11.8%
  • HTML 6.0%
  • CSS 1.9%
  • PowerShell 1.5%
  • TypeScript 0.9%