Reset the admin password (CLI)
Reset the admin password with the Grafana CLI
grafana-cli admin reset-admin-password newpassword
- tool
- grafana11 commands
More grafana commands
-
grafana-cli plugins list-remoteList all plugins that you can install from the Grafana catalog
-
grafana-cli plugins install grafana-piechart-panelInstall a Grafana plugin by name
-
curl -s http://admin:admin@localhost:3000/api/dashboards/uid/MY_UID | jq .dashboardGet the dashboard JSON from the Grafana HTTP API
-
curl -X POST -H "Content-Type: application/json" -d @dashboard.json http://admin:admin@localhost:3000/api/dashboards/importUpload a dashboard JSON through the Grafana HTTP API
-
curl -s http://admin:admin@localhost:3000/api/datasources | jq .[].nameList the names of all configured data sources