Distributed Services with Go: protoc command

Title: Distributed Services with Go
Page 32: protoc api/v1/*.proto
–go_out=.
–go_opt=paths=source_relative
–proto_path=.

When I run the above command on macOS 10.13.6 High Sierra, I am running into the error:
protoc-gen-go: program not found or is not executable
Please specify a program using absolute path or make sure the program is available in your PATH system variable
–go_out: protoc-gen-go: Plugin failed with status code 1.

I am not sure why this isn’t working. I have tried installing the package the way it was suggested earlier in the chapter but that didn’t seem to work. I also tried to install it using the recommended way Go now says which is go get -d name-of-package that also didn’t work.

I am using zsh with oh-my-zshell installed which I haven’t had that cause problems before but wanted to throw it out there. macOS 10.13.6 High Sierra.