Download TiDB Tools

This document describes how to download the TiDB Toolkit.

TiDB Toolkit contains frequently used TiDB tools, such as data export tool Dumpling, data import tool TiDB Lightning, and backup and restore tool BR.

Environment requirements

  • Operating system: Linux
  • Architecture: amd64

You can download TiDB Toolkit from the following link:

https://download.pingcap.org/tidb-community-toolkit-{version}-linux-amd64.tar.gz

{version} in the link indicates the version number of TiDB. For example, the download link for v6.0.0 is https://download.pingcap.org/tidb-community-toolkit-v6.0.0-linux-amd64.tar.gz.

TiDB Toolkit description

Depending on which tools you want to use, you can install the corresponding offline packages as follows:

ToolOffline package name
TiUPtiup-linux-amd64.tar.gz
tiup-{tiup-version}-linux-amd64.tar.gz
dm-{tiup-version}-linux-amd64.tar.gz
Dumplingdumpling-{version}-linux-amd64.tar.gz
TiDB Lightningtidb-lightning-ctl
tidb-lightning-{version}-linux-amd64.tar.gz
TiDB Data Migration (DM)dm-worker-{version}-linux-amd64.tar.gz
dm-master-{version}-linux-amd64.tar.gz
dmctl-{version}-linux-amd64.tar.gz
TiCDCcdc-{version}-linux-amd64.tar.gz
TiDB Binlogpump-{version}-linux-amd64.tar.gz
drainer-{version}-linux-amd64.tar.gz
binlogctl
reparo
Backup & Restore (BR)br-{version}-linux-amd64.tar.gz
sync-diff-inspectorsync_diff_inspector
TiSparktispark-{tispark-version}-any-any.tar.gz
spark-{spark-version}-any-any.tar.gz
PD Recoverpd-recover-{version}-linux-amd64.tar