Command not found go — on Mac after installing Go

Like bjhaid mentioned in the comments above:

This is happening because you must add your PATH to your ~/.zshrc file.

in the ~/.zshrc you should add the line:

export PATH=$PATH:/usr/local/go/bin

you should then source you .zshrc file:

. ~/.zshrc

Leave a Comment