CS-WIKI101
|
NOTE Tested on macOS Sonoma 14.0
NOTE If you already have
Homebrew
installed, you can skip these steps.
Follow the instructions provided in the installation homebrew to install Homebrew on macOS.
Go is an open-source programming language developed by Google. Follow the steps below to install Go on macOS:
Terminal
. For more information please see how to open Terminal in macOS
Once Homebrew is installed, run the following command to install Go:
> NOTE > Install go using the command above will install the latest version of Go. If you want to install a specific version of Go, you can run the following command:
After the installation is complete, verify that Go is installed correctly by running the command:
You should see the Go version information.
you can set GOPATH
and GOROOT
by adding the following lines to your ~/.bash_profile
or ~/.zshrc
Source | Description |
---|---|
Go | Go website |
Go Documentation | Go documentation |
Go Tutorial | Go tutorial |
Setup your workspace | The GOPATH and PATH environment variables |
Need assistance? Check out my discussion board or review the GitHub status page.
© 2023 AppleBoiy • Code of Conduct • [MIT License](LICENSE)