I noticed that go 1.22 started emitting warning: GOPATH set to GOROOT ($HOME/go) has no effect
and VSCode plugin noisily emits "Failed to run ..." messages due to this warning message). Although https://go.dev/doc/install suggests doing tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz and export PATH=$PATH:/usr/local/go/bin , I'm doing tar -C $HOME -xzf go1.21.7.linux-amd64.tar.gz and export PATH=$PATH:~/go/bin/ so that external packages can be installed without requiring the write permission under /usr/local/go/ directory. Installing under $HOME worked without problems until go 1.21.7 . If this is an intentional change, please update https://go.dev/doc/install to explicitly comment that installing under $HOME is not possible. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/d2642225-3cf7-4c91-9059-fd45c880c6a5%40I-love.SAKURA.ne.jp.