Skip to content
Prerequisites

Prerequisites

Every platform needs:

  • Go 1.25 or later. Check with go version.
  • A C compiler, because Bellui uses cgo for the native window system and GPU code. CGO_ENABLED must not be 0.

You do not need to install a GPU library. The prebuilt WebGPU (wgpu-native) libraries ship inside per-platform Go modules (github.com/belluikit/webgpu/libs-darwin, libs-linux, libs-windows and so on) and are downloaded by go build like any other dependency.

Install the Xcode command line tools, which include clang:

xcode-select --install

Rendering uses Metal, which every supported Mac has.

Optional packages

  • x/mmedia plays audio through ALSA on Linux and needs libasound2-dev (Debian/Ubuntu) to build.

  • The bellui command packages, installs and releases apps, including for Android and iOS. Install it with:

    go install github.com/belluikit/bellui/cmd/bellui@latest

    See Packaging and distribution for what each platform needs.

When the tools are in place, write your first app.