Installation

Quick Install (5 Minutes)

Step-by-Step 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:

PowerShell
go version  # Should show 1.25 or later

Check PATH:

PowerShell
$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](https://developer.microsoft.com/microsoft-edge/webview2/)
- Or run `wails3 doctor` later—it will guide you

**That's it!** No other dependencies needed.
3

Install Wails CLI

bash
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

Run Setup Wizard (Recommended)

bash
wails3 setup

The setup wizard will check your dependencies, help install missing ones, and configure project defaults.

5

Verify Installation

bash
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   | Your installed version |
| Go Version  | go1.25.0        |
└─────────────┴─────────────────┘

# 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!
6

Install npm (Optional but Recommended)

Most Wails templates use npm for frontend tooling.

Download from nodejs.org and run the installer.

Verify:

PowerShell
npm --version

Troubleshooting

wails3 command not found

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:

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

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:

bash
xcode-select --install

Go version too old

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

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

Development Version (Bleeding Edge)

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.

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

Next Steps

Installation Complete! Your system is ready for Wails development.

Build Your First App

Create a working application in 10 minutes.

First App Tutorial →

Explore Templates

See what’s available out of the box.

bash
wails3 init -l  # List templates

Having issues? Ask in Discord or open an issue.

Edit page

Last updated: