Installation
Supported Platforms
Section titled “Supported Platforms”- Windows 10/11 AMD64/ARM64
- macOS 10.15+ AMD64 (Can deploy to macOS 10.13+)
- macOS 11.0+ ARM64
- Ubuntu 24.04 AMD64/ARM64 (other Linux may work too!)
Dependencies
Section titled “Dependencies”Wails has a number of common dependencies that are required before installation.
Download Go from the Go Downloads Page.
Ensure that you follow the official Go installation instructions. You will also need to ensure that your PATH environment variable also includes the path to your ~/go/bin directory. Restart your terminal and do the following checks:
- Check Go is installed correctly:
go version - Check
~/go/binis in your PATH variable- Mac / Linux:
echo $PATH | grep go/bin - Windows:
$env:PATH -split ';' | Where-Object { $_ -like '*\go\bin' }
- Mac / Linux:
Although Wails doesn’t require npm to be installed, it is needed by most of the bundled templates.
Download the latest node installer from the Node Downloads Page. It is best to use the latest release as that is what we generally test against.
Run npm --version to verify.
Platform Specific Dependencies
Section titled “Platform Specific Dependencies”You will also need to install platform specific dependencies:
Wails requires that the xcode command line tools are installed. This can be done by running:
xcode-select --installWails requires that the WebView2 Runtime is installed. Almost all Windows installations will already have this installed. You can check using the wails doctor command.
Linux requires the standard gcc build tools plus gtk4 and webkitgtk-6.0. Run wails3 doctor after installation to be shown how to install the dependencies. The legacy GTK3 / WebKit2GTK 4.1 stack is still available via -tags gtk3 (see Linux Packaging - Legacy GTK3 Support) until v3.1. If your distro/package manager is not supported, please let us know on discord.
Installation
Section titled “Installation”To install the Wails CLI using Go Modules, run the following commands:
go install -v github.com/wailsapp/wails/v3/cmd/wails3@latestIf you would like to install the latest development version, run the following commands:
git clone https://github.com/wailsapp/wails.gitcd wailscd v3/cmd/wails3go installWhen using the development version, all generated projects will use Go’s replace directive to ensure projects use the development version of Wails.
Next Steps
Section titled “Next Steps”After installing the CLI, run the setup wizard to configure your development environment:
wails3 setupThe setup wizard will:
- Check and help install platform dependencies
- Configure project defaults (author info, bundle ID prefix)
- Optionally set up Docker for cross-platform builds
- Configure code signing (if needed)
See the Setup Guide for more details.
Manual Dependency Installation
Section titled “Manual Dependency Installation”If you prefer to install dependencies manually, or if the setup wizard doesn’t work on your system, follow the platform-specific instructions above and then run:
wails3 doctorThis will check if you have the correct dependencies installed and advise on what is missing.
The wails3 command appears to be missing?
Section titled “The wails3 command appears to be missing?”If your system is reporting that the wails3 command is missing, check the
following:
- Make sure you have followed the above
Go installation guidecorrectly and that thego/bindirectory is in thePATHenvironment variable. - Close/Reopen current terminals to pick up the new
PATHvariable.