Tauri Setup Guide for Linux
Step 1: Install Required Software​
Linux (Debian/Ubuntu)​
-
Install Deno:
- Open a terminal and run:
curl -fsSL https://deno.land/x/install/install.sh | sh
- Open a terminal and run:
-
Install Rust:
- Open a terminal and run:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Restart your terminal after installation.
- Open a terminal and run:
-
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
- Open a terminal and run:
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
- Run:
- Deno Permissions:
- Use the
-A
flag to allow all permissions:deno run -A npm:create-tauri-app@latest
- Use the
Final Notes​
- Deno Documentation: https://deno.land/manual
- Tauri Documentation: https://tauri.app/v1/guides/
- Vite Documentation: https://vitejs.dev/guide/