tomnomnom/gf

Unable to Install gf with go latest version. go get command got depreciated and not working with install command

sz3cur3 opened this issue · 4 comments

Check your $GOPATH bin folder, I think it installed already with the @latest command

try to use

go install -v github.com/tomnomnom/gf@latest

@rudSarkar is correct, ensure your $GOPATH is correctly input in the proper file to reflect the terminal environment you are using, for example .zshrc or .bashrc. From the looks of it, you are using zsh. That file should be located in ~/.zshrc. I JUST installed it using the following command:

go install github.com/tomnomnom/gf@latest

Then you will be able to follow the rest of the steps and get started with the tool.

Check your $GOPATH bin folder, I think it installed already with the @latest command

It was path issue only.
image