Skip to content


In order to get started building your project with Tauri you’ll first need to install a few dependencies:

  1. System Dependencies
  2. Rust
  3. Configure for Mobile Targets (only required if developing for mobile)

Follow the link to get started for your respective operating system:

Tauri requires various system dependencies for development on Linux. These may be different depending on your distribution but we’ve included some popular distributions below to help you get setup.

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

If your distribution isn’t included above then you may want to check Awesome Tauri on GitHub to see if a guide has been created.

Next: Install Rust

Tauri uses Xcode and various macOS and iOS development dependencies.

Download and install Xcode from one of the following places:

Be sure to launch Xcode after installing so that it can finish setting up.

Only developing for desktop targets? If you’re only planning to develop desktop apps and not targeting iOS then you can install Xcode Command Line Tools instead:

Terminal window
xcode-select --install

Next: Install Rust

Tauri uses the Microsoft C++ Build Tools for development as well as Microsoft Edge WebView2. These are both required for development on Windows.

Follow the steps below to install the required dependencies.

  1. Download the Microsoft C++ Build Tools installer and open it to begin installation.
  2. During installation check the “Desktop development with C++” option.

Visual Studio C++ Build Tools installer screenshot

Next: Install WebView2.

Tauri uses Microsoft Edge WebView2 to render content on Windows.

Install WebView2 by visiting the WebView2 Runtime download section. Download the “Evergreen Boostrapper” and install it.

Next: Install Rust

Tauri is built with Rust and requires it for development. Install Rust using one of following methods. You can view more installation methods at

Install via rustup using the following command:

Terminal window
curl --proto '=https' --tlsv1.2 -sSf | sh

Be sure to restart your Terminal (and in some cases your system) for the changes to take affect.

Next: Configure for Mobile Targets if you’d like to build for Android and iOS. Otherwise Create a Project.

If you’d like to target your app for Android or iOS then there are a few additional dependencies that you need to install:

  1. Download and install Android Studio from the Android Developers website
  2. Set the JAVA_HOME environment variable:
Terminal window
export JAVA_HOME=/opt/android-studio/jbr
  1. Use the SDK Manager in Android Studio to install the following:
  • Android SDK Platform
  • Android SDK Platform-Tools
  • NDK (Side by side)
  • Android SDK Build-Tools
  • Android SDK Command-line Tools
  1. Set ANDROID_HOME and NDK_HOME environment variables. Replace the version numbers so it matches your installed version.
Terminal window
export ANDROID_HOME="$HOME/Android/Sdk"
export NDK_HOME="$ANDROID_HOME/ndk/25.0.8775105"
  1. Add the Android targets with rustup:
Terminal window
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

Next: Setup for iOS or Create a project.

  1. Add the iOS targets with rustup in Terminal:
Terminal window
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim
  1. Install Homebrew:
Terminal window
/bin/bash -c "$(curl -fsSL"
  1. Install Cocoapods using Homebrew:
Terminal window
brew install cocoapods

Next: Create a project.

If you run into any issues during installation be sure to check the Troubleshooting Guide or reach out on the Tauri Discord.

© 2024 Tauri Contributors. CC-BY / MIT