> For the complete documentation index, see [llms.txt](https://docs.percona.com/pmm-dump-documentation/llms.txt).

# Install PMM Dump

Note

Starting from version 2.27.0, PMM Server is shipped with PMM Dump. Therefore, you do not need to install it. To run this shipped version, use the `docker exec` command as follows:

```bash
$ docker exec -it pmm-server pmm-dump help
usage: pmm-dump [<flags>] <command> [<args> ...]
...
```

## Binary installation

You can download the latest version of PMM Dump from the [Percona website](https://www.percona.com/get/pmm-dump). Once downloaded, set the executable bit for the `pmm-dump` binary file and you are ready to use it.

```bash
$ curl -OL https://www.percona.com/get/pmm-dump
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.9M    0 11.9M    0     0   624k      0 --:--:--  0:00:19 --:--:-- 2628k
$ chmod +x pmm-dump
$ ./pmm-dump version
Version: 0.6.1-rc, Build: e2bc9a9
```

Alternatively, you can download the PMM Dump binary from the [PMM Dump GitHub Releases](https://github.com/percona/pmm-dump/releases) page. Here you will find all published versions of PMM Dump.

### Installing PMM Dump on ARM

Warning

ARM architecture is not officially supported. Binaries are not properly tested. Use them at your own risk.

ARM builds for Linux, macOS, and Windows platforms are available at [Percona-Lab/percona-on-arm](https://github.com/Percona-Lab/percona-on-arm/releases).

## Compiling from source

1. Check if the version of Go is 1.21 or newer.

   ```bash
   $ go version 
   go version go1.24.1 linux/amd64
   ```

1. Clone the PMM Dump [GitHub repository](https://github.com/percona/pmm-dump):

   ```bash
   $ git clone git@github.com:percona/pmm-dump.git
   ```

1. `cd` into the newly created directory and run `make build`:

   ```bash
   $ cd pmm-dump
   $ make build
   go build -ldflags "-X 'main.GitBranch=main' -X 'main.GitCommit=b3804a9' -X 'main.GitVersion=v2.32.0'" -o pmm-dump pmm-dump/cmd/pmm-dump
   ```

This will compile the `pmm-dump` binary.
