In module mode, where does "go install" install executables

40 views
Skip to first unread message

Andy Balholm

unread,
Jun 25, 2019, 4:10:16 PM6/25/19
to golang-nuts
When GOPATH is set, “go install” installs executables to $GOPATH/bin (assuming there is just one path in GOPATH). When GOPATH is not set, where do the executables go? I haven’t been able to find them.

Andy

Wagner Riffel

unread,
Jun 25, 2019, 4:26:24 PM6/25/19
to Andy Balholm, golang-nuts
I'd bet the default GOPATH, that is $HOME/go
BR.

Andy Balholm

unread,
Jun 25, 2019, 4:31:13 PM6/25/19
to Wagner Riffel, golang-nuts
Yes, it looks like that is right.

Andy
Reply all
Reply to author
Forward
0 new messages