Installation & Setup

Duration: 10 min•Difficulty: Easy•

Before you start coding, you need to install the Go compiler on your computer.

Steps

  1. Visit go.dev/doc/install.
  2. Download the installer for your OS (Windows/Mac/Linux).
  3. Run the installer and follow the instructions.

Verify Installation

To ensure Go is installed correctly, open a terminal or Command Prompt and type:

bash
go version

If successful, you will see the Go version (e.g., go version go1.21.0 ...).