macOS

The recommended approach with macOS is to install it using Homebrew. If you haven't previously set up Homebrew, you can simply follow the instructions at https://brew.sh. Once Homebrew is installed, you can simply open a Terminal and run brew install gtk+.

Get Hands-On GUI Application Development in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.