Build Your First App
Create a working application in 10 minutes.
Install Go (Required)
Wails requires Go 1.25 or later.
Download the Windows installer from go.dev/dl and run it.
Verify installation:
go version # Should show 1.25 or laterCheck PATH:
$env:PATH -split ';' | Where-Object { $_ -like '*\go\bin' }If empty, add C:\Users\YourName\go\bin to your PATH.
Option 1: Official Installer
Download the macOS installer (.pkg file) from go.dev/dl and run it.
Option 2: Homebrew
brew install goVerify installation:
go version # Should show 1.25 or laterecho $PATH | grep go/bin # Should show ~/go/binIf ~/go/bin isn’t in PATH, add to ~/.zshrc or ~/.bash_profile:
export PATH=$PATH:~/go/binOption 1: Official Tarball
Download the Linux tarball from go.dev/dl, then:
sudo rm -rf /usr/local/gosudo tar -C /usr/local -xzf go1.25.linux-amd64.tar.gzOption 2: Package Manager
# Ubuntu/Debiansudo apt install golang-go
# Fedorasudo dnf install golang
# Archsudo pacman -S goAdd to PATH (add to ~/.bashrc or ~/.zshrc):
export PATH=$PATH:/usr/local/go/bin:~/go/binsource ~/.bashrc # ReloadVerify:
go versionecho $PATH | grep go/binInstall Platform Dependencies
WebView2 Runtime (usually pre-installed)
Windows 10/11 includes WebView2 by default. If missing:
wails3 doctor later—it will guide youThat’s it! No other dependencies needed.
Xcode Command Line Tools (required)
xcode-select --installClick “Install” in the dialog that appears.
Verify:
xcode-select -p # Should show /Library/Developer/CommandLineToolsThat’s it! macOS includes WebKit by default.
Build tools and WebKit
Requires Ubuntu 22.04+ or Debian 12+.
sudo apt updatesudo apt install build-essential pkg-config libgtk-3-dev libwebkit2gtk-4.1-devsudo dnf install gcc pkg-config gtk3-devel webkit2gtk4.1-develsudo pacman -S base-devel gtk3 webkit2gtk-4.1sudo zypper install gcc pkg-config gtk3-devel webkit2gtk3-develsudo emerge --ask net-libs/webkit-gtk:4.1Add to your shell.nix or devShell:
buildInputs = with pkgs; [ webkitgtk_4_1 gtk3 pkg-config gcc ];Run wails3 doctor after installing Wails—it will show the exact packages needed for your distribution.
Install Wails CLI
go install github.com/wailsapp/wails/v3/cmd/wails3@latestThis installs the wails3 command to ~/go/bin (or %USERPROFILE%\go\bin on Windows).
Verify Installation
wails3 doctorExpected output (or similar):
Wails (v3.0.0-dev) Wails Doctor
# System
┌──────────────────────────────────────────────────┐| Name | MacOS || Version | 26.0 || ID | 25A354 || Branding | MacOS 26.0 || Platform | darwin || Architecture | arm64 || Apple Silicon | true || CPU | Apple M2 Pro || CPU 1 | Apple M2 Pro || CPU 2 | Apple M2 Pro || GPU | 16 cores, Metal Support: Metal 4 || Memory | 16 GB |└──────────────────────────────────────────────────┘
# Build Environment
┌─────────────┬─────────────────┐| Wails CLI | v3.0.0-alpha.40 || Go Version | go1.24.6 |└─────────────┴─────────────────┘
# Dependencies
┌─────────────────┬─────────────────────────────────────────────────┐| npm | 11.6.2 || *NSIS | Not Installed. Install with `brew install...`. || Xcode cli tools | 2412 |└─────────────────┴─────────────────────────────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!Install npm (Optional but Recommended)
Most Wails templates use npm for frontend tooling.
Option 1: Official Installer Download from nodejs.org
Option 2: Homebrew
brew install nodeVerify:
npm --versionOption 1: NodeSource
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -sudo apt-get install -y nodejs # Ubuntu/DebianOption 2: Package Manager
sudo dnf install nodejs # Fedorasudo pacman -S nodejs npm # ArchVerify:
npm --versionwails3 command not foundCause: ~/go/bin (or %USERPROFILE%\go\bin) isn’t in your PATH.
Solution:
PathC:\Users\YourName\go\bin (replace YourName)Verify:
$env:PATH -split ';' | Where-Object { $_ -like '*\go\bin' }Add to ~/.zshrc (macOS) or ~/.bashrc (Linux):
export PATH=$PATH:~/go/binReload:
source ~/.zshrc # or ~/.bashrcVerify:
echo $PATH | grep go/binwails3 versionwails3 doctor reports missing dependenciesLinux: The output tells you exactly which packages to install. Example:
❌ webkit2gtk not found Install with: sudo apt install libwebkit2gtk-4.1-devWindows: If WebView2 is missing:
macOS: If Xcode tools are missing:
xcode-select --installWails v3 requires Go 1.25+. If you have an older version:
Download the latest from go.dev/dl and reinstall.
Download the latest tarball from go.dev/dl, then:
sudo rm -rf /usr/local/gosudo tar -C /usr/local -xzf go1.25.linux-amd64.tar.gzWant to use the absolute latest code from the main development branch? This gives you access to new features and fixes before they’re released, but comes with the risk of bugs and breaking changes. Only recommended for contributors or those who need to test upcoming features.
git clone https://github.com/wailsapp/wails.gitcd wailsgit checkout v3cd v3/cmd/wails3go installInstallation Complete! Your system is ready for Wails development.
Build Your First App
Create a working application in 10 minutes.
Explore Templates
See what’s available out of the box.
wails3 init -l # List templatesHaving issues? Ask in Discord or open an issue.