Peter Benjamin
Jul 21, 2017 · 1 min read

Hi Chidiebube Amos,

Thank you for the feedback.

In Go, when you go build , the compiled executable binary will be placed in the current directory. Alternatively, if you go install , Go will place the executable binary in your $GOPATH/bin , which should be in your $PATH. So, you don’t have to keep doing go build && cp <binary> /usr/local/bin , just go install and then start using it.

It sounds to me that $GOPATH/bin is not in your $PATH . I recommend adding the following to your ~/.bashrc (on linux) or ~/.bash_profile (if on macOS): export PATH=$GOPATH/bin:$PATH .

As for part 2, it is certainly in the works. I just had a full workload the past few months, but I’m slowly chipping away at the article and hope to publish it soon.

)

    Peter Benjamin

    Written by

    Now migrated to https://pbnj.dev & https://dev.to/petermbenjamin