---
title: "Install TDengine Datasource plugin for Grafana"
description: "Grafana datasource plugin for TDengine. TDengine Datasource plugin for Grafana by TDengine. Available in Grafana Cloud and self-managed Grafana."
---

> This is the Markdown version of https://grafana.com/grafana/plugins/tdengine-datasource/installation/

# TDengine Datasource - Installation

## Installing TDengine Datasource on Grafana Cloud

Install plugins directly in your Grafana Cloud instance, and we'll take care of keeping them up to date.

Note that it could take up to 1 minute to see the plugin show up in your Grafana.

Or automate it with the [Cloud API](https://grafana.com/docs/grafana/latest/developer-resources/api-reference/cloud-api/#grafana-plugins) or [Terraform](https://grafana.com/docs/grafana/latest/as-code/infrastructure-as-code/terraform/terraform-plugins/).

[Sign up for Grafana Cloud to install TDengine Datasource.](https://grafana.com/auth/sign-up/create-user?pg=plugins&plcmt=tdengine-datasource)

For more information, visit the docs on [plugin installation](https://grafana.com/docs/grafana/latest/plugins/installation/).

## Installing on a local Grafana

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

### Install via CLI

Use the grafana-cli tool to install TDengine Datasource from the commandline:

```sh
grafana-cli plugins install tdengine-datasource
```

To install a specific version, add it to the command:

```sh
grafana-cli plugins install tdengine-datasource <version>
```

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. [More information on the cli tool](https://grafana.com/docs/grafana/latest/cli/).

### Download package

Alternatively, manually download the .zip file and unpack it into your grafana plugins directory.

- [any](https://grafana.com/api/plugins/tdengine-datasource/versions/3.7.1/download)
