How to install Grafana on Debian 11

Nov 10, 2021 · 1 min read · Post a comment
How to install Grafana on Debian 11

Seemingly some enterprise monitoring solutions look that they can be suitable for your infrastructure but afterwards it shows up that your expectations are not satisfied. There are a lot of online monitoring tools that are just a waste of money. Rather than investing your budget, I would prefer choosing Grafana which is a multi platform open source monitoring tool. Grafana provides a lot of complex monitoring dashboards depending on the connected data sources. Let’s jump and see how to install it on Debian 11.


  • Debian 11
  • sudo user

Install Grafana on Debian 11

Step 1. Update the system packages and install some of the Grafana requirements.

sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget

Step 2. Add the Grafana gpg key.

wget -q -O - | sudo apt-key add -

Step 3. For stable releases add the following repo:

echo "deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

Step 4. Grab the latest changes and install Grafana.

sudo apt-get update
sudo apt-get install grafana

Step 5. To verify the installation and version, run:

grafana-cli -v
grafana-server -v

Example output:

Grafana CLI version 8.2.3
Version 8.2.3 (commit: fb85ed6912, branch: HEAD)


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.