#tauri #create #scaffold #rapidly #cargo

bin+lib create-tauri-app

Rapidly scaffold out a new tauri app project

88 stable releases

3.13.17 Mar 26, 2024
3.13.8 Feb 26, 2024
3.12.1 Dec 28, 2023
3.11.1 Nov 16, 2023
0.0.0 Aug 2, 2022

#34 in GUI

Download history 1012/week @ 2023-12-22 1371/week @ 2023-12-29 1246/week @ 2024-01-05 1083/week @ 2024-01-12 1178/week @ 2024-01-19 1219/week @ 2024-01-26 1806/week @ 2024-02-02 1321/week @ 2024-02-09 2135/week @ 2024-02-16 2494/week @ 2024-02-23 1998/week @ 2024-03-01 2337/week @ 2024-03-08 1506/week @ 2024-03-15 2116/week @ 2024-03-22 1370/week @ 2024-03-29 1169/week @ 2024-04-05

6,428 downloads per month

Apache-2.0 OR MIT

305KB
3K SLoC

Rust 2.5K SLoC // 0.0% comments Shell 358 SLoC // 0.2% comments Svelte 48 SLoC TypeScript 29 SLoC // 0.2% comments PowerShell 20 SLoC // 0.2% comments JavaScript 18 SLoC // 0.2% comments JSX 17 SLoC TSX 17 SLoC Vue 12 SLoC
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
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

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

Dependencies

~8–18MB
~128K SLoC