Skip to content

Installation

  1. Install Go (Required)

    Wails requires Go 1.25 or later.

    Download the Windows installer from go.dev/dl and run it.

    Verify installation:

    Terminal window
    go version # Should show 1.25 or later

    Check PATH:

    Terminal window
    $env:PATH -split ';' | Where-Object { $_ -like '*\go\bin' }

    If empty, add C:\Users\YourName\go\bin to your PATH.

  2. Install Platform Dependencies

    WebView2 Runtime (usually pre-installed)

    Windows 10/11 includes WebView2 by default. If missing:

    • Download from Microsoft
    • Or run wails3 doctor later—it will guide you

    That’s it! No other dependencies needed.

  3. Install Wails CLI

    Terminal window
    go install github.com/wailsapp/wails/v3/cmd/wails3@latest

    This installs the wails3 command to ~/go/bin (or %USERPROFILE%\go\bin on Windows).

  4. Verify Installation

    Terminal window
    wails3 doctor

    Expected 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!
  5. Install npm (Optional but Recommended)

    Most Wails templates use npm for frontend tooling.

    Download from nodejs.org and run the installer.

    Verify:

    Terminal window
    npm --version

Cause: ~/go/bin (or %USERPROFILE%\go\bin) isn’t in your PATH.

Solution:

  1. Open “Environment Variables” (search in Start menu)
  2. Under “User variables”, find Path
  3. Click “Edit” → “New”
  4. Add: C:\Users\YourName\go\bin (replace YourName)
  5. Click “OK” on all dialogs
  6. Restart your terminal

Verify:

Terminal window
$env:PATH -split ';' | Where-Object { $_ -like '*\go\bin' }

wails3 doctor reports missing dependencies

Section titled “wails3 doctor reports missing dependencies”

Linux: The output tells you exactly which packages to install. Example:

❌ webkit2gtk not found
Install with: sudo apt install libwebkit2gtk-4.1-dev

Windows: If WebView2 is missing:

  • Download from Microsoft
  • Or it will be installed automatically when you run your first app

macOS: If Xcode tools are missing:

Terminal window
xcode-select --install

Wails v3 requires Go 1.25+. If you have an older version:

Download the latest from go.dev/dl and reinstall.

Want 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.

Terminal window
git clone https://github.com/wailsapp/wails.git
cd wails
git checkout v3
cd v3/cmd/wails3
go install

Installation Complete! Your system is ready for Wails development.

Explore Templates

See what’s available out of the box.

Terminal window
wails3 init -l # List templates

Having issues? Ask in Discord or open an issue.