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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.