Closed alejandrosanabriav closed 6 years ago
.bashrc
PATH=$PATH:$GOROOT/bin:$GOPATH/bin
$ go get -u github.com/tj/node-prune
you can find the node-prune
file in $GOPATH/bin
folder.
@appleboy thanks but doesn't works for me :( with zshrc
@developersoul I forked this repository and release all binary for all arch. You can download the binary according to your OS version with the following link.
Does the executable file appear if you run ls $GOROOT/bin
? You should also make sure that you have permission to execute the file.
Encountered same issue.
Are you using go version go1.9.2 darwin/amd64
?
If so, add PATH="$PATH:$HOME/go/bin"
to ~/.zshrc
then source it.
It works, thanks @iwestlin
Hi TJ, I have installed already go and I export the path to, go bin but node prune isn't on my shell yet.
so what more I have to do?
Thanks.