change golang linux default version code example Example: check go is installed mac # in a shell/terminal go version