Skip to main content

Tauri Setup Guide for Linux


Step 1: Install Required Software​

Linux (Debian/Ubuntu)​

  1. Install Deno:

    • Open a terminal and run:
      curl -fsSL https://deno.land/x/install/install.sh | sh
  2. Install Rust:

    • Open a terminal and run:
      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    • Restart your terminal after installation.
  3. Install System Dependencies:

    • Open a terminal and run:
      sudo apt update
      sudo apt install -y libwebkit2gtk-4.0-dev \
      build-essential \
      curl \
      wget \
      libssl-dev \
      libgtk-3-dev \
      libayatana-appindicator3-dev

Troubleshooting​

  • Missing Dependencies:
    • Run:
      sudo apt update
      sudo apt install -y libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev
  • Deno Permissions:
    • Use the -A flag to allow all permissions:
      deno run -A npm:create-tauri-app@latest

Final Notes​