Go Lang Tools Installation Error



Hello there, You may receive the below error during running or installing any go lang tool on Kali Linux:

“go get: installing executables with ‘go get’ in module mode is deprecated.

Use ‘go install pkg@version’ instead.

For more information, see https://golang.org/doc/go-get-install-deprecation

or run ‘go help get’ or ‘go help install’.”

This is because in new version of go Lang (go version go1.17 linux/amd64) it is not supported.

To Resolve this we just need to change few things in the above command:

▶ Run : go install github.com/tomnomnom/anew@latest



Changes are: replace get with install, remove -u add @latest to the end of the url, link, package.

0 Comments