go buildbuilds your package then discards the results.
go installbuilds then installs the package in your
go buildbuilds the command and leaves the result the current working directory.
go installbuilds the command in a temporary directory then moves it to
If you liked this post you may also find Using go test, build and install helpful.