Skip to content

full-stack-skills/tauri-skills / skills/tauri

tauri

Flagged

Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.

examples/start/installation.md

View on GitHub
# Installation

**官方文档**: https://v2.tauri.org.cn/ ,https://v2.tauri.app

## Prerequisites

- Node.js ≥ 16
- Rust(stable)
- 平台依赖(macOS、Linux、Windows、Android、iOS)

### Install Rust

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustc --version
cargo -V
```

### Install Tauri CLI(多包管理器)

```bash
# npm
npm install -D @tauri-apps/cli
# yarn
yarn add -D @tauri-apps/cli
# pnpm
pnpm add -D @tauri-apps/cli
# bun
bun add -d @tauri-apps/cli
# cargo
cargo install tauri-cli
```

### Create a Project(多环境)

```bash
# Bash / zsh / fish 可用的在线脚本
sh <(curl https://create.tauri.app/sh)

# npm / yarn / pnpm / bun
npm create tauri-app
yarn create tauri-app
pnpm create tauri-app
bun create tauri-app

# Cargo
cargo tauri init
```

### System Dependencies

**macOS**
```bash
xcode-select --install
```

**Linux(Ubuntu/Debian)**
```bash
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
```

**Windows**
- Microsoft Visual Studio C++ Build Tools
- WebView2 runtime

### Key Points

- 先装 Rust,再装 CLI 与平台依赖
- 创建项目可选脚本与多包管理器
- 验证 Node/Rust/CLI 版本与工具链是否可用
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall