waybackurls icon indicating copy to clipboard operation
waybackurls copied to clipboard

bash: waybackurls: command not found

Open FaizanNehal opened this issue 4 years ago • 2 comments

Hello, when I install this tool using the command go get github.com/tomnomnom/waybackurls it successfully installed but upon running it showed the following error bash: waybackurls: command not found Now I was able to run the tool when I installed it with git clone but there is a problem that I have to open the directory in which the tool is saved in order or run it, or I have to provide the full path, Am I missing something here. Is there something I can do to run the tool just by typing waybackurls in any directory.

FaizanNehal avatar Jul 20 '20 13:07 FaizanNehal

@FaizanNehal you need to add export PATH="$PATH:$HOME/go/bin" to your bashrc file. Example here: https://wiki.archlinux.org/index.php/Go#.24GOPATH

clove3am avatar Jul 29 '20 02:07 clove3am

Solved, I didn't know /go/bin isn't included to the system path by default. Would be great to add it to the readme for Go noobs.

ArisBee avatar Jun 21 '21 12:06 ArisBee