Installing Wails

Once installed, the command may be used for subsequent updates.

To get the latest pre-release with bleeding-edge features the -pre flag can be appended wails update -pre.

To finish the installation setup your Wails system by running the wails setup and filling your handle and email.

Select the default options.

Change into the project directory cd my-project and compile your application using the build command wails build.

If all went well, you should have a compiled program in your local directory. Run it with ./my-project or double click if on windows.

Serve

wails serve

While developing your apps using wails the preferred method is by the wails serve.

This produces a much faster lightweight build in debug mode, excluding npm build scripts, saving time when developing the backend and also enabling use of npm run serve for partial browser development of frontend!

npm run serve

Change into the frontend directory and serve your GUI using npm run serve.

Come by our channel (Invite) for a chat or just to share with us what you’ve built with wails!