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+.