Skip to main content

Setup for Windows

This setup is only needed for development. Consumers of Tauri apps will not have to do any of this.

This page provides a complete guide to install Tauri along with its dependencies. Because Tauri is a polyglot toolchain and involves complex installation instructions, we want to make sure anybody will manage to set it up by reading this guide without having to open another documentation.

Additionally, it contains nice tips and tools that will help you if you're beginning with Node.js or Rust and security.

: This step is required
: This step is skippable if already satisfied (e.g. you already have Node.js/Rust installed)
: This step is purely informational

1. System Dependencies 

You'll need to install Microsoft Visual Studio C++ build tools. Download the installer here, and then run it. When it asks you what packages you would like to install, select C++ Build Tools and make sure the Windows SDK is selected.

2. Node.js Runtime and Package Manager 

Node.js (npm included)

We recommend using nvm-windows to manage your Node.js runtime. It allows you to easily switch versions and update Node.js.

Then run the following from an Administrative PowerShell and press Y when prompted:

# BE SURE YOU ARE IN AN ADMINISTRATIVE PowerShell!
nvm install latest
nvm use {{latest}} # Replace with your latest downloaded version

This will install the most recent version of Node.js with npm.

Optional Node.js Package Manager

You may want to use an alternative to npm:

3. Rustc and Cargo Package Manager 

Now you will need to install Rust. The easiest way to do this is to use rustup, the official installer.

Download and install the proper variant for your computer's architecture.

4. Install WebView2

Finally, you will need to install WebView2. The best way to do this is to download and run the Evergreen Bootstrapper from this page.

Continue

Now that you have set up the Windows-specific dependencies for Tauri, learn how to add Tauri to your project.