Go
Setup on macOS
To install Golang, run the setup script with the golang
tags:
./setup -t golang
This will use markosamuli.golang Ansible role that uses Homebrew go Formula.
The Ansible role will automatically configure your bash
or zsh
shell.
Install using Homebrew on macOS
You can install Golang without the setup scripts using Homebrew go Formula:
brew install go
Setup on Linux
To install Golang, run the setup script with the golang
tags:
./setup -t golang
This will use markosamuli.golang Ansible role.
The Ansible role will automatically configure your bash
or zsh
shell.
Install using Homebrew on Linux
You can alternatively install Golang on Linux using Homebrew go Formula:
brew install go