- Windows 10/11 AMD64/ARM64
- MacOS 10.13+ AMD64
- MacOS 11.0+ ARM64
- Linux AMD64/ARM64
Wails has a number of common dependencies that are required before installation:
- Go 1.17+
- NPM (Node 15+)
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:
- Check "~/go/bin" is in your PATH variable:
echo $PATH | grep go/bin
Download NPM from the Node Downloads Page. It is best to use the latest release as that is what we generally test against.
npm --version to verify.
Platform Specific Dependencies
You will also need to install platform specific dependencies:
wails doctorcommand (see below).
gccbuild tools plus
libwebkit. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run
wails doctorafter installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
- UPX for compressing your applications.
go install github.com/wailsapp/wails/v2/cmd/wails@latest to install the Wails CLI.
wails doctor will check if you have the correct dependencies installed. If not, it will advise on what is missing and help on how to rectify any problems.