#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
Getting Started

How to Install Go on Windows, Mac, and Linux – Step-by-Step Setup

Installing Go on Windows

  1. Download the Windows installer (.msi) from the official Go website.
  2. Run the installer and follow the setup wizard — it automatically sets the PATH environment variable.
  3. Open Command Prompt and run go version to confirm installation.

Installing Go on macOS

# Using Homebrew
brew install go

# Verify installation
go version

Installing Go on Linux

wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version

Setting Up Your Workspace

Modern Go uses Go Modules for dependency management, so you no longer need a strict GOPATH directory structure — simply run go mod init myproject inside any folder to start a new project.

Ready to master real-world Go skills?

Learn Go hands-on with mentor-led, live sessions.

Explore Course