Aller au contenu principal
ProduitsOutils de bureauTASTECADConsultation de plansTASTEFILESGestion de fichiersTASTEFTPTransfert de fichiersTASTESSHEspace de travail à distanceTASTEZIPCompression et extractionTASTEWINMGestion de fichiersOutils pour développeursTASTECODEEnvironnement de développement intégré pour RustTASTESTUDIOEnvironnement intégré de développement et de testTASTEETLIntégration de données (ETL)ServeursTASTEREMOTEServeur de bureau à distanceTASTEGEOServeur géospatialTASTEMAILEspace de travail e-mailInvestissementTASTESTOCKApplication de bureau de trading automatique d'actionsCommencerTéléchargementsDocumentationAcheterTous les produits
Marketplace
Actualités
TechActualitésL’actu dev du jourDocs développeursLangages de programmationRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFrameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngularFrameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFrameworks d'applications et de bureauTauriFlutterReact NativeElectronAlgorithmesBases des algorithmesAlgorithmes essentielsAlgorithmes avancésAlgorithmes pratiques
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrineGuide de la communauté
CollaborerTransfert techniqueRéalisation de site webRéalisation d'application de bureauChaîne de publication et de paiementPartenaire commercialContact
ServicesBureau à distancePaquets d'installation sur mesure
TASTEDEV
Produits

Outils de bureau

TASTECADDes plans complexes, ouverts en toute légèretéTASTEFILESSeulement les fichiers utiles, au plus viteTASTEFTPLe chemin le plus net pour vos fichiersTASTESSHEntre vos serveurs et vous, un lien plus solideTASTEZIPCompresser plus vite, extraire en toute sécuritéTASTEWINMUn gestionnaire de fichiers à deux volets, pensé pour le clavier

Outils pour développeurs

TASTECODEModifier, compiler, déboguer et tester vos apps Rust dans une seule fenêtreTASTESTUDIODe l’édition aux tests à distance et aux corrections IA approuvéesTASTEETLDéplacer les données, les valeurs sous les yeux

Serveurs

TASTEREMOTEUn bureau à distance hébergé sur votre propre serveurTASTEGEOUn serveur géospatial compatible GeoServer, reconstruit en RustTASTEMAILReprenez la maîtrise de vos e-mails

Investissement

TASTESTOCKDu trading automatique d'actions selon vos règles : quand, et quoi

Commencer

TéléchargementsDernières versions de chaque produitDocsUtiliser chaque produitAcheterAbonnements et licences perpétuellesTous les produitsTous les produits en un coup d’œil
Tous les produits
MarketplaceActualités
Tech

Actualités

L’actu dev du jourAnnonces officielles : langages, frameworks, GitHub et IADocs développeursGuides des langages, frameworks et algorithmes

Langages de programmation

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Frameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngular
Frameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Frameworks d'applications et de bureauTauriFlutterReact NativeElectron

Algorithmes

Bases des algorithmesAnalyse de complexité · Tri · Recherche · Structures de données de base · Arbres et tasAlgorithmes essentielsParcours de graphe · Plus courts chemins et arbres couvrants · Programmation dynamique · Algorithmes gloutons · Diviser pour régner · Backtracking (retour sur trace)Algorithmes avancésAlgorithmes sur les chaînes · Mathématiques et théorie des nombres · Manipulation de bits · Arbres de segments · Union-FindAlgorithmes pratiquesStratégie pour les entretiens de codage · Cache LRU · Limitation de débit · Hachage cohérent
Toute la documentation de développement
Communauté
ProjetsDécouvrir les créateurs et leurs travauxJournaux de développementDécisions et enseignementsPromptsInstructions réutilisablesProblèmes d’outils d’IAProblèmes et contournements de Claude, Codex, GeminiVitrineRéalisations terminéesGuide de la communautéConstruire en toute transparence
Collaborer
Transfert techniqueApplications natives en Rust et eguiRéalisation de site web10 langues, comptes, documentation et téléchargementsRéalisation d'application de bureauRust et egui, sans WebViewChaîne de publication et de paiementSignature, MSI, deb, rpm, AppImage, empreintesPartenaire commercialRecommandez-nous, touchez 30 %ContactDéveloppement, partenariats, investissement
Services
Bureau à distanceAccédez à votre ordinateur depuis le navigateurPaquets d'installation sur mesureSeulement l'utile, réglages préchargés
Acheter
FR
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Se connecter
Se connecter
TASTEDEV

Des petits outils à un meilleur développement.

support@tastedev.netSoutenir TASTEDEV
ProduitsGamme de produitsAcheterDocsTéléchargementsMarketplaceAssistance
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrine
RèglesÀ proposPolitique de confidentialitéConditions d'utilisationConditions d’abonnementRemboursementRègles de la communauté
CompteSe connecterS'inscrire
Visiteurs
Aujourd’hui
Hier
Vues au total
Société
GXSOFT
Représentant
CHOI YOUNG GU
Numéro d’enregistrement
853-44-00368
Adresse
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Téléphone
+82-10-4404-1523
E-mail
whitecalvin@tastedev.net
Responsable de la confidentialité
CHOI YOUNG GU

© 2026 TASTEDEVLes informations produit s'appuient sur des sources de développement vérifiées.Publié · en amélioration

Documentation Tauri
Tauri
Getting Started with TauriProject StructureCore ConceptsData and StateTestingDeployment
Discussions

Guide Tauri · 1/6

Getting Started with Tauri

Ce chapitre n'est disponible qu'en anglais pour le moment.

This chapter walks through installing the tools Tauri needs, creating a first project and running it in development mode. It also covers editor setup and the CLI commands you will use most.

A Tauri app has two halves. The user interface is written in HTML, CSS and JavaScript and rendered by the WebView that ships with the operating system. Windowing, file access and system integration are handled by a core written in Rust. Your development machine therefore needs the Rust toolchain, the platform's WebView development libraries and, if you use a web frontend, Node.js.

Prerequisites

Start with the system dependencies for your platform.

PlatformWhat you need
WindowsMicrosoft C++ Build Tools (the "Desktop development with C++" workload) and the WebView2 runtime, which is usually preinstalled on Windows 11 and current Windows 10
macOSXcode, or just the Xcode Command Line Tools (xcode-select --install) for desktop-only work
LinuxWebKitGTK, build tools, OpenSSL, the app indicator library and a few others

On Debian and Ubuntu you can install everything in one go. For other distributions, check the package names on the official prerequisites page.

sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
  build-essential curl wget file \
  libxdo-dev libssl-dev \
  libayatana-appindicator3-dev librsvg2-dev

Next, install Rust with rustup, the official installer. On Windows, download and run rustup-init.exe or use winget install --id Rustlang.Rustup, and keep the MSVC toolchain as the default.

# macOS and Linux
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Verify the installation
rustc --version
cargo --version

If you build the UI with JavaScript or TypeScript, install an LTS release of Node.js as well. Android and iOS targets additionally need Android Studio with the NDK or a full Xcode installation, but you can skip those until you move beyond the desktop.

Creating a project

New projects are scaffolded with create-tauri-app.

npm create tauri-app@latest

The tool asks a few questions:

  1. Project name: used for the folder and as the default app name.
  2. Identifier: a unique reverse-domain name such as com.example.myapp.
  3. Frontend language: TypeScript/JavaScript, Rust or .NET.
  4. Package manager: npm, pnpm, yarn, bun and others.
  5. UI template: Vanilla, Vue, Svelte, React, Solid, Angular, Preact and more.
  6. UI flavor: TypeScript or JavaScript.
Des questions sur ce chapitre ?
Chapitre suivantProject Structure

You can also add Tauri to an existing web project. Install the CLI as a dev dependency and run tauri init; it creates the src-tauri folder and asks for your dev server URL, the folder with your built assets and your build commands.

npm install -D @tauri-apps/cli@latest
npx tauri init

Running in development mode

Move into the project folder, install dependencies and start the app.

cd tauri-app
npm install
npm run tauri dev

tauri dev first runs the beforeDevCommand from the configuration (usually the Vite dev server), then compiles the Rust core and opens the app window. The first run builds every Rust dependency and can take a few minutes; after that only changed code is recompiled. Frontend edits are hot-reloaded in place, while Rust edits trigger a rebuild and an app restart.

In development builds you can open the WebView developer tools by right-clicking and choosing Inspect, or with Ctrl+Shift+I on Windows and Linux and Cmd+Option+I on macOS.

The template frontend calls a Rust function named greet like this. Chapter 3 explains the mechanism in detail.

import { invoke } from "@tauri-apps/api/core";

const input = document.querySelector<HTMLInputElement>("#greet-input")!;
const output = document.querySelector<HTMLParagraphElement>("#greet-msg")!;

document.querySelector("#greet-form")!.addEventListener("submit", async (event) => {
  event.preventDefault();
  output.textContent = await invoke<string>("greet", { name: input.value });
});

Editor setup

In VS Code, install the rust-analyzer and Tauri extensions. tauri.conf.json references a JSON schema, so configuration keys autocomplete as you type. Because the Rust code lives under src-tauri, rust-analyzer may not find it when you open the repository root; point it there in .vscode/settings.json.

{
  "rust-analyzer.linkedProjects": ["src-tauri/Cargo.toml"]
}

Everyday CLI commands

CommandWhat it does
npm run tauri devRun the app in development mode
npm run tauri buildBuild for production and create installers
npm run tauri add fsAdd an official plugin on both the Rust and JavaScript side
npm run tauri icon app-icon.pngGenerate every icon size from one source image
npm run tauri infoPrint tool versions and diagnose the environment
npm run tauri android initPrepare the Android project (ios init for iOS)

When a build fails or no window appears, run tauri info first to check for missing system dependencies.

Summary

  • Tauri development needs Rust, the platform WebView libraries and, for web frontends, Node.js.
  • Create a project with npm create tauri-app@latest and run it with npm run tauri dev.
  • The first build is slow; later builds only recompile what changed.
  • Install rust-analyzer in your editor and reach for tauri info when something looks wrong.

0 commentaire

Meilleurs commentairesPlus récents d'abord

Se connecter · Connectez-vous pour laisser un commentaire.