checking go version in command prompt code example Example: check go is installed mac # in a shell/terminal go version