🎓 A1Learner
🔍
0 of 50 lessons completed

Grafana: Install Grafana

Grafana is a single program that serves its dashboards from a web page. You download it, start it, and sign in with a default account.

Check the version

One flag prints the version. It proves the download is good.

grafana --version

Start the server

Start Grafana from its folder. It serves its web page on port 3000.

grafana server --homepath .

First sign-in

Open the web page and sign in with the default account, then change the password.

http://localhost:3000
username: admin
password: admin

Example

grafana --version

Key points

  • Download the release for your machine from the Grafana download page.
  • This course pins Grafana 13.3.1, a security patch on the 13.3 line.
  • Grafana also runs as a hosted service called Grafana Cloud, but this course is self-hosted throughout.
  • The first sign-in uses admin as both the username and the password.
  • Grafana asks you to change that password the first time you sign in.
  • Change it before anything else, because the default password is public knowledge.

In this example, the version flag prints one short line naming Grafana 13.3.1. That is the version this course pins. The next step is to start the server and sign in at its web page.

Note

Grafana stores dashboards and settings in its own small database, not your metrics.

Try it Yourself

Edit the code, then press Run.

Running is simulated · Rust Playground

Exercise

What are the default Grafana sign-in details on first login?