Wails uses cgo to bind to the native rendering engines so a number of platform dependencies are needed as well as an installation of Go. The basic requirements are:
Download Go from the Go Downloads Page. We recommend downloading the MSI package.
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
c:\Go\bin directory. Also ensure Go modules are enabled - You may do so through the “Environment Variables” button on the “Advanced” tab of the “System” control panel. Some versions of Windows provide this control panel through the “Advanced System Settings” option inside the “System” control panel.
Restart your terminal and do the following checks:
It is STRONGLY recommended that if you use a terminal on Windows, that you use the git bash terminal and not the VSC terminal. This is because it handles signals correctly. We have found the VSC terminal to be quite buggy.
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.
Windows requires gcc and related tooling. The recommended download is from http://tdm-gcc.tdragon.net/download.
Now you are ready to move on to the next step of installing Wails.