百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

create-tauri-app

> 编程语言
开源

快速构建新的 Tauri 应用程序项目。

1.6K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

快速构建新的 Tauri 应用程序项目。

Usage

To get started using create-tauri-app run one of the below commands in the folder you'd like to setup your project.

Bash:

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

or

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

Powershell:

powershell
irm https://create.tauri.app/ps | iex

Cargo:

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

NPM:

bash
npm create tauri-app@latest

Yarn:

bash
yarn create tauri-app

PNPM:

bash
pnpm create tauri-app

Deno

bash
deno run -A npm:create-tauri-app

Bun:

bash
bunx create-tauri-app

Scaffold a new project (interactive)

Follow along with the prompts to choose your project name, frontend language, package manager, and frontend framework, and frontend framework options if applicable.

  1. Choose a name and a bundle identifier (unique-id for your app):

    ? Project name (tauri-app) ›
    ? Identifier (com.tauri-app.app) ›
  2. Select a flavor for your frontend. First the language:

    ? Choose which language to use for your frontend ›
    Rust  (cargo)
    TypeScript / JavaScript  (pnpm, yarn, npm, bun)
    .NET  (dotnet)
  3. Select a package manager (if there are multiple available):

    Options for TypeScript / JavaScript:

    ? Choose your package manager ›
    pnpm
    yarn
    npm
    bun
  4. Select a UI Template and flavor (if there are multiple available):

    Options for Rust:

    ? Choose your UI template ›
    Vanilla
    Yew
    Leptos
    Sycamore

    Options for TypeScript / JavaScript:

    ? Choose your UI template ›
    Vanilla
    Vue
    Svelte
    React
    Solid
    Angular
    Preact
    
    ? Choose your UI flavor ›
    TypeScript
    JavaScript

    Options for .NET:

    ? Choose your UI template ›
    Blazor  (https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor/)

Once completed, the utility reports that the template has been created and displays how to run it using the configured package manager. If it detects missing dependencies on your system, it prints a list of packages and prompts how to install them.

Scaffold a new project (non-interactive)

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:

…

Currently supported template presets include:

  • vanilla
  • vanilla-ts
  • vue
  • vue-ts
  • svelte
  • svelte-ts
  • react
  • react-ts
  • preact
  • preact-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

  • Original Tauri Logo Designs by Daniel Thompson-Yvetot and Guillaume Chau

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言