[note] Installation of Golang (PATH)
📌 Introduction
This article provides a step-by-step guide on how to install Go on macOS and configure the system’s PATH variable to include Go binaries.
🚀 Quick Start
-
Install Go using Homebrew:
1
brew install go
-
Verify the Installation:
1
ls ~/go/bin/
-
Update PATH Temporarily:
1
export PATH=$PATH:~/go/bin
-
Update PATH Permanently:
1
2echo 'export PATH=$PATH:~/go/bin' >> ~/.zshrc
source ~/.zshrc
🔁 Recap
- The guide covers how to install Go programming language on macOS.
- It includes verification steps to check the installation.
- Instructions are provided for temporarily and permanently updating the PATH environment variable.
[note] Installation of Golang (PATH)