Can I get ANY debug output from the go install command?

Ran into this when learning go

I had my path and everything setup but go install wasn’t installing a bin to the default path. Turned out it was just user error but man was that a pain in the arse to figure out because go didnt do much to help me troubleshoot. go install threw 0 errors and gave me 0 output lol. I couldn’t find a verbose flag

How do I get verbose output like “trying to build X” or “creating binaries in X path” or “didnt find any packages in “main” so wont build anything” etc.

imho its a bad user experience to not have this kind of output

$ go install -v -n -a

$ go install -v -x -a

1 Like