install golang in mac using terminal code example Example: check go is installed mac # in a shell/terminal go version