go install does not recognize "-o" flag
go build
accepts the -o
flag but go install
does not.
go install
will always output to $GOPATH/bin
If you want to install a custom binary name to your gopath you can do go build -o $GOPATH/bin/whatever
and that will be roughly equivalent to go install