Closed drled closed 3 years ago
Is $GOPATH/bin
(e.g /root/.go/bin
) in you system path?
if i navigate to the folder i still get this issue
To execute a file in the same folder you have to ./grafana-reporter
Anyways, you can export PATH=$PATH:/path/to/go/bin
so the command is now in your path and your terminal will be able to locate it! In this case, you should do:
export PATH=$PATH:$GOPATH/bin
This did the trick for me, is working fine now. Thank you!
I'm trying to install the reporter in a Ubuntu envirement: upon entering the "grafana-reporter" command i get: ubuntu@:~/go/bin$ grafana-reporter grafana-reporter: command not found
Any ideas? There were no errors during installation.