Windows
Build native Windows desktop applications with Bini.js.
Windows Overview
Bini.js allows you to build native Windows desktop applications using Tauri. Your React app is wrapped in a WebView2 binary, providing a native experience with full system access.
Native Binary
Windows executable (.exe) with Authenticode signing
Code Signing
Authenticode signing support for trusted distribution
Native APIs
Full access to Windows APIs via Tauri
Requirements
Before building Windows apps, make sure you have the following installed:
- Node.js 20.19.0 or higher
- Microsoft C++ Build Tools — Download
- Microsoft Edge WebView2 Runtime — Download
Native Windows
Build natively on Windows using the CLI. The development and build commands run directly on your Windows machine.
The build output is a native Windows executable (.exe) with an installer.
Tip: Use --sign during scaffold to set up Authenticode signing.
macOS
Build Windows apps from macOS using GitHub Actions. This is the recommended approach for cross-platform builds.
Why GitHub Actions? Tauri recommends GitHub Actions for cross-platform builds because:
- No local toolchain setup required
- Consistent build environment
- Automatic artifact generation
- Works from any operating system
Linux
Build Windows apps from Linux using GitHub Actions. This is the recommended approach and is used by Tauri for cross-platform builds.
Why GitHub Actions? Tauri recommends GitHub Actions for cross-platform builds because:
- No local toolchain setup required
- Consistent build environment
- Automatic artifact generation
- Works from any operating system
windows-latest runners is the official Tauri-recommended approach for building Windows apps from Linux.Creating a Windows App
Create a new Bini.js project targeting Windows:
Or use the interactive prompt and select windows:
Prompt: Which platform would you like to target?
web / windows / macos / linux / android / ios
Select windows and press Enter
Development
Run your Windows app in development mode:
This launches your app in a native Windows window with:
- Hot reload for frontend changes
- Native window with system tray support
- Access to Windows APIs
- Devtools for debugging
Building
Build a distributable Windows executable:
This creates a signed Windows installer in the src-tauri/target/release/ directory.
Output Files
my-app.exe— The main executablemy-app.msi— Windows installermy-app.nsis— NSIS installer (if configured)
Code Signing
Bini.js supports Authenticode code signing for Windows binaries. Configure signing in src-tauri/tauri.conf.json:
For GitHub Actions, you can use secrets for secure certificate storage: