Go (also known as Golang) is an open-source programming language developed by Google. It is widely used for building web applications, cloud services, networking tools and system software due to its simplicity, performance and built-in concurrency support.
This guide shows how to install Go on macOS and verify the installation.
Download and Installation
Step 1: Visit the Official Download Page
Download the macOS installer that matches your system, from Go Downloads Page
- Apple Silicon Macs (M1, M2, M3, M4): darwin-arm64.pkg
- Intel Macs: darwin-amd64.pkg

Step 2: Install Go on macOS
After downloading the .pkg installer, follow these steps:
- Open the downloaded .pkg installer from the Downloads folder.
- Click Continue through the setup screens.
- Click Install and enter your administrator password if prompted.
- Wait for the installation to complete.
- Click Close to finish the setup.
Note: Go is installed in the system location used by macOS. For most users, no additional setup is required because the installer automatically configures the necessary paths.
Verify the Installation
Step 1: Open Terminal
Once the installation is complete, open Terminal and run:
go version
If Go is installed successfully, you will see output similar to:
go version go1.25.0 darwin/arm64
or
go version go1.25.0 darwin/amd64
The exact version number may vary depending on the latest Go release and your Mac's processor type. This confirms that Go has been installed successfully and is ready to use.