Windows Development Environment Setup
June 16, 2025 · View on GitHub
Setting up Carpe for development on Windows requires specific tools and configurations not fully covered in the standard Tauri documentation. Additionally, Carpe's Rust codebase requires specialized tools beyond those needed for typical Tauri applications.
These instructions have been tested on Windows 11 but should work on Windows 10. They're designed for users with minimal Windows development experience.
⚠️ Important Note: While Unix-like environments (Cygwin, WSL) are common for Windows development, they won't work for Tauri app builds. Tauri depends on the Microsoft compiler and Windows SDK, which are currently only available on native Windows.
Step 1: Install Git
Note: Skip this step if you already have a working Git installation.
- Download Git from: https://git-scm.com/download/win
- Run the installer and select all default options
- Verify installation: Open Command Prompt and run
git. You should see Git help output.
Step 2: Install Node.js
Requirements: Tauri requires Node.js version 16 (LTS).
- Download the Windows Installer (.msi) from: https://nodejs.org/en/download/
- Run the installer and accept all defaults
- Important: When prompted, choose to install necessary tools (this will install Chocolatey package manager)
- Verify installation: Open Command Prompt and run
node --version. You should see version 16.x.x
Step 3: Install Yarn
Yarn installation requires Chocolatey (installed in Step 2) and must be run with administrator privileges.
- Open Administrator Command Prompt: Right-click Command Prompt and select "Run as Administrator"
- Install Yarn: Run the following command:
choco install yarn - Verify installation: Open a new Command Prompt window and run
yarn --version
Step 4: Install Microsoft Build Tools
Microsoft provides a command-line compiler toolchain called "Build Tools for Visual Studio" (BTFVS). Despite the confusing name, this allows development without installing Visual Studio.
Download and Installation
-
Download: Visit the Build Tools for Visual Studio 2022 page
-
Look for this download option:

-
Install with specific components: Run the downloaded installer to open the component selector
-
Important: Select "Desktop development with C++" AND the additional checkboxes shown below (these are NOT selected by default):

-
Wait for completion: The installation will take some time. You should see confirmation similar to:

Step 5: Install LLVM
-
Download LLVM 13.0.0: Visit LLVM releases
-
Important: During installation, select "Add LLVM to the system PATH":

Step 6: Set Environment Variable
Set the LIBCLANG_PATH environment variable to C:\Program Files\LLVM\bin:
-
Open Control Panel > System and Security > System > Advanced System Settings
-
Click Environment Variables
-
Add new system variable as shown:

Step 7: Install Rust
- Download Rust installer: Visit https://win.rustup.rs/x86_64
- Run the installer: Follow the prompts to install the latest Rust toolchain
Step 8: Open Development Shell
The Microsoft compiler requires specific environment variables. Use the shortcut installed in Step 4:
-
Find the shortcut: Look in your Apps list under "Visual Studio" folder:

-
Select appropriate shell: Usually "x64 Native Tools Command Prompt for VS 2022"
Step 9: Build Carpe
Now you can clone and build Carpe using the same commands as Linux and macOS:
git clone https://github.com/0LNetworkCommunity/carpe.git
cd carpe
cd src-tauri
cargo build
cd ..
yarn
yarn tauri dev
Build time: The Rust compilation phase takes considerable time. Eventually, you should see output indicating a successful build with an installable .msi package:

Step 10: Enjoy Your Development Environment
Congratulations! You now have a fully functional Carpe development environment on Windows.