adigov
adigov

Reputation: 51

How to install grafana-cli and grafana plugin

I'm trying to install Simple JSON plugin which needs grafana-cli.

But my Terminal says command not found. Can someone please help how to install grafana-cli and grafana plugin

OS - Mac, grafana v3.0

Upvotes: 3

Views: 18002

Answers (3)

Aaron
Aaron

Reputation: 169

for S.O windows, you need add manually the path of grafana-cli.exe to environment variables. follow this steps.

  1. open control panel.
  2. select the option "system".
  3. select option "advanced features"
  4. select environment variables,
  5. on variables of user select the row "path", select the button edit
  6. add your path of grafana-cli.exe.
  7. save changes.
  8. open a new cmd terminal.
  9. write grafana-cli and console return view of help of grafana cli commands

you can find grafana-cli on c:/programfiles/grafanalasbs/grafana/bin

Upvotes: 2

MikeKulls
MikeKulls

Reputation: 1006

Old question but for me I found it using

ps -ef | grep grafana

To find the location of grafana (which was /usr/sbin/grafana) and grafana-cli was there too. That dir is only in the path for the root user so switching to root (sudo su) solved the issue also.

Upvotes: 1

Offlinegamer
Offlinegamer

Reputation: 1

grafane-cli is not present in 2.6.0 package. So i suppose you should build grafana from scratch or get an older version.

Upvotes: 0

Related Questions