Skip to main content

Tauri Setup Guide for Windows


Step 1: Install Required Software​

1. Install Deno (JavaScript/TypeScript Runtime)​

  • Website: https://deno.land/
  • Steps:
    1. Open PowerShell
    2. Run the following command:
    irm https://deno.land/install.ps1 | iex

2. Install Rust (Tauri Backend)​

  • Website: https://www.rust-lang.org/
  • Steps:
    1. Go to the Rust website.
    2. Click the "Get Started" button.
    3. Click the "Other Installation Methods" hyperlink
    4. Click on rustup-init.exe to get the installer.
    5. Run the installer and follow the prompts.
      • When prompted, choose "Proceed with installation".
    6. Restart your computer after installation.

3. Install WebView2 (Windows WebView Runtime)​


4. Install Visual Studio Build Tools (Required for Rust)​


Troubleshooting​

1. WebView2 Issues​

2. Rust/Cargo Errors​

3. Deno Permissions​

  • If Deno throws permission errors, use the -A flag to allow all permissions:
    deno run -A npm:create-tauri-app@latest

Final Notes​