---
title: Install NVIDIA DCGM on Raspberry Pi using the Snap Store | Snapcraft
description: Get the latest version of NVIDIA DCGM for on Raspberry Pi - Snap for
  NVIDIA DCGM and DCGM-Exporter
url: https://snapcraft.io/install/dcgm/raspbian
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install NVIDIA DCGM on **Raspberry Pi**

# NVIDIA DCGM (dcgm)

[Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")

* [Canonical](https://snapcraft.io/publisher/canonical "View all snaps from Canonical")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

[Install](https://snapcraft.io/install/dcgm/raspbian#install)

#### Snap for NVIDIA DCGM and DCGM-Exporter

This snap includes NVIDIA DCGM and DCGM-Exporter to manage and monitor NVIDIA GPUs via the CLI or via Prometheus metrics.
Grafana dashboards can then be used to visualize the exported metrics, see for example:
<https://grafana.com/grafana/dashboards/12239-nvidia-dcgm-exporter-dashboard/>

The snap includes the following components:

* DCGM: Data Center GPU Manager
* DCGM-Exporter: a Prometheus exporter for DCGM metrics

Please see the links at the bottom of the page for more details about the included components and their purpose.

**How-To**

---

**How to install the snap:**

```
sudo snap install dcgm
```

**How to enable metrics collection:**

```
# Start the DCGM-Exporter service (disabled by default)
sudo snap start dcgm.dcgm-exporter

# Get the metrics
curl -s localhost:9400/metrics
```

**How to configure the snap services:**

The NV-Hostengine and DCGM-Exporter services can be configured via the `snap` CLI.
For example:

```
# Get all the configuration options
sudo snap get dcgm

# Set the NV-Hostengine port
sudo snap set dcgm nv-hostengine-port=5577

# Restart the NV-Hostengine service to apply the changes
sudo snap restart dcgm.nv-hostengine
```

**Reference**

---

Available configurations options:

* `nv-hostengine-port`: the port on which the NV-Hostengine listens.
  The default is `5555`.
* `dcgm-exporter-address`: the address DCGM-Exporter binds to.
  The default is `:9400`.
* `dcgm-exporter-metrics-file`: the name of a custom CSV metrics file to be loaded by the exporter.
  The path is assumed to be `/var/snap/dcgm/common/`.
  The default metrics are located in `/snap/dcgm/current/etc/dcgm-exporter/default-counters.csv`.
  Please refer to the DCGM-Exporter repository link at the bottom of the page for more information on the CSV file format.

**Cryptography**

---

During the snap build process, snapcraft downloads the CUDA keyring deb package using `curl` over HTTPS and verifies its integrity using SHA256 checksums.
The CUDA keyring deb package is then used to set up the appropriate source for the DCGM deb package, whose signature is verified using the keyring.
For more information, see the CUDA keyring repository link and `curl` documentation at the bottom of the page.

**Links**

---

Upstream DCGM-Exporter repository
<https://github.com/NVIDIA/dcgm-exporter>

Upstream DCGM repository
<https://github.com/NVIDIA/DCGM>

DCGM Documentation
<https://docs.nvidia.com/datacenter/dcgm/latest/user-guide/index.html>

Available NVIDIA GPU metrics
<https://docs.nvidia.com/datacenter/dcgm/latest/dcgm-api/dcgm-api-field-ids.html>

Repository for the CUDA keyring and DCGM deb package
<https://developer.download.nvidia.com/compute/cuda/repos/>

curl Documentation
<https://curl.se/docs/manpage.html>

### Package name

* dcgm

---

### License

* Apache-2.0

---

### Last updated

* 21 October 2025 - v4-cuda13/stable
* 29 May 2026 - v4-cuda11/edge

---

### Contact

* [solutions-engineering@lists.canonical.com](mailto:solutions-engineering@lists.canonical.com "mailto:solutions-engineering@lists.canonical.com")

---

### Source code

* [github.com/canonical/dcgm-snap](https://github.com/canonical/dcgm-snap "https://github.com/canonical/dcgm-snap")

---

### Report a bug

* [github.com/canonical/dcgm-snap/issues](https://github.com/canonical/dcgm-snap/issues "https://github.com/canonical/dcgm-snap/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/dcgm/raspbian#report-snap-modal)

---

## Enable snaps on Raspberry Pi and install NVIDIA DCGM

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

On a [Raspberry Pi](https://www.raspberrypi.org/) running the latest version of [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) snap can be installed directly from the command line:

```
sudo apt update
sudo apt install snapd
```

You will also need to reboot your device:

```
sudo reboot
```

After this, install the snapd snap in order to get the latest snapd:

```
sudo snap install snapd
```

### Install NVIDIA DCGM

To install NVIDIA DCGM, simply use the following command:

```
sudo snap install dcgm
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/dcgm/raspbian)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/dcgm/raspbian)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
