grafana cli admin reset-admin-password Str0ngPassw0rd9

Category: Monitoring & Observability

grafana cli admin reset-admin-password Str0ngPassw0rd9

Reset the Grafana admin password from the CLI

Sets the admin user's password directly, bypassing the web UI login flow. On Debian packages add --homepath /usr/share/grafana or you get 'Could not find config defaults'. Restart grafana-server afterwards so the new password takes effect.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.