tomnomnom / gf

A wrapper around grep, to help you grep for things
MIT License
1.77k stars 312 forks source link

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

Closed sz3cur3 closed 2 years ago

sz3cur3 commented 2 years ago

image

rudSarkar commented 2 years ago

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

n3k00n3 commented 2 years ago

try to use

go install -v github.com/tomnomnom/gf@latest
CodeNameDuchess007 commented 2 years ago

@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.

sz3cur3 commented 2 years ago

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

It was path issue only. image