> For the complete documentation index, see [llms.txt](https://docs.percona.com/percona-monitoring-and-management/3/llms.txt).

# Install PMM Client with Package Manager

Percona Monitoring and Management (PMM) Client can be installed using standard Linux package managers. You can choose between automated repository setup or manual package download options.

## Prerequisites

Complete these essential steps before installation:

1. Check [system requirements](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/prerequisites.md) to ensure your environment meets the minimum criteria.
1. [Install and configure PMM Server](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-server/index.md) as you’ll its IP address or hostname to configure the Client.
1. [Set up firewall rules](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/plan-pmm-installation/network_and_firewall.md) to allow communication between PMM Client and PMM Server.
1. [Create database monitoring users](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/prerequisites.md#database-monitoring-requirements) with appropriate permissions for the databases you plan to monitor.
1. Check that you have root or sudo privileges to install PMM Client. Alternatively, use [binary installation](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/binary_package.md) for non-root environments.

## Supported architectures and platforms

PMM Client supports:

- Architectures: x86_64 (AMD64) and ARM64 (aarch64)

- Operating systems:

  - Red Hat/CentOS/Oracle Linux 8, 9 and 10
  - Debian 12 (Bookworm) and 13 (Trixie)
  - Ubuntu 22.04 (Jammy), 24.04 (Noble) and 26.04 (Resolute)
  - Amazon Linux 2023

The package manager will automatically select the appropriate version for your system architecture.

## Installation process

### Step 1: Configure repositories

Choose your preferred method to configure the Percona repositories:

**Automatic (Recommended)**

Use the `percona-release` utility to automatically configure repositories:

Tip

If you have used `percona-release` before, disable and re-enable the repository:

```sh
percona-release disable all
percona-release enable pmm3-client
```

**Debian-based**

```sh
wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb
sudo dpkg -i percona-release_latest.generic_all.deb
sudo percona-release enable pmm3-client
```

**Red Hat-based**

```sh
yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm
percona-release enable pmm3-client
```

**Manual download**

Download packages directly without configuring repositories:

1. Visit the [PMM download page](https://www.percona.com/downloads/).
1. Select PMM 3 and choose specific version (usually the latest).
1. Under **Select Platform**, select the item matching your software platform and architecture (x86_64 or ARM64).
1. Download the package file or copy the link and use `wget` to download it.

### Step 2: Install PMM Client

Root permissions required

The installation commands below require root privileges. Use `sudo` if you’re not running as root.

**From repository**

- Debian-based:

  ```sh
  sudo apt update
  sudo apt install -y pmm-client
  ```

- Red Hat-based:

  ```sh
  yum install -y pmm-client
  ```

**From downloaded package**

- Debian-based:

  ```sh
  sudo dpkg -i pmm-client_*.deb
  ```

- Red Hat-based:

  ```sh
  sudo dnf localinstall pmm-client-*.rpm
  ```

### Step 3: Verify installation

Check that PMM Client installed correctly:

```sh
pmm-admin --version
```

### Step 4: Register the node

After installing PMM Client, register your node with PMM Server to begin monitoring. This enables PMM Server to collect metrics and provide monitoring dashboards for your database infrastructure.

Registration requires authentication to verify that your PMM Client has permission to connect and send data to the PMM Server. PMM supports two authentication methods for registering the node: secure service account tokens and standard username/password credentials.

**Using Service accounts (Recommended)**

[Service accounts](https://docs.percona.com/percona-monitoring-and-management/3/api/authentication.md) provide secure, token-based authentication for registering nodes with PMM Server. Unlike standard user credentials, service account tokens can be easily rotated, revoked, or scoped to specific permissions without affecting user access to PMM.

To register with service accounts, create a service account then generate an authentication token that you can use to register the PMM Client:

1. Log into PMM web interface.
1. Navigate to **Users and access > Service accounts**.
1. Click **Add service account**.
1. Enter a descriptive name (e.g.: `pmm-client-prod-db01`). PMM automatically shortens names exceeding 200 characters using a `{prefix}_{hash}` pattern.
1. Select the **Admin** role from the drop-down. For detailed information about what each role can do, see [Role types in PMM](https://docs.percona.com/percona-monitoring-and-management/3/admin/roles/index.md).
1. Click **Create > Add service account token**.
1. (Optional) Name your token or leave blank for auto-generated name.
1. (Optional) Set expiration date for enhanced security. Expired tokens require manual rotation. Permanent tokens remain valid until revoked.
1. Click **Generate Token**.
1. **Save your token immediately**. It starts with `glsa_` and won’t be shown again!
1. Register using the token:

```bash
pmm-admin config --server-insecure-tls \
    --server-url=https://service_token:YOUR_GLSA_TOKEN@YOUR_PMM_SERVER:443 \
```

**Parameters explained:**

- `--server-insecure-tls` - Skip certificate validation (remove for production with valid certificates)
- `YOUR_PMM_SERVER` - Your PMM Server’s IP address or hostname
- `service_token` - Use this exact string as the username (not a placeholder!)
- `YOUR_GLSA_TOKEN` - The token you copied (starts with `glsa_`)

Full example with node details

`bash pmm-admin config --server-insecure-tls \ --server-url=https://service_token:glsa_aBc123XyZ456...@192.168.33.14:443 \ 192.168.33.23 generic prod-db01` This registers node `192.168.33.23` with type `generic` and name `prod-db01`.

**Standard authentication (Not recommended)**

This method exposes credentials in command history, process lists, and logs. Use only for testing or migration scenarios.

```bash
pmm-admin config --server-insecure-tls \
--server-url=https://admin:admin@YOUR_PMM_SERVER:443
```

**Parameters explained:**

- `YOUR_PMM_SERVER`- Your PMM Server’s IP address or hostname
- `443` - Default HTTPS port
- `admin`/`admin` - Default PMM username and password (change this immediately after first login)

Registration with node details

Register a node with IP address `192.168.33.23`, type `generic`, and name `mynode`:

```bash
pmm-admin config --server-insecure-tls \
--server-url=https://admin:admin@192.168.33.14:443 \
192.168.33.23 generic mynode
```

To migrate to [service accounts](https://docs.percona.com/percona-monitoring-and-management/3/api/authentication.md):

1. Create service accounts while still using standard authentication.
1. Test service account tokens on non-critical nodes.
1. Gradually migrate all nodes to token authentication.
1. Change the admin password from default.
1. Consider restricting or disabling direct admin account usage for node registration.

HTTPS requirement

PMM requires HTTPS connections (port `443` by default). HTTP URLs automatically redirect to HTTPS. For connection errors, verify:

- Port `443` is accessible
- Firewall rules allow HTTPS traffic
- TLS certificates are valid (or use `--server-insecure-tls`)

### Step 5: Verify the connection

Check that PMM Client is properly connected and registered:

```sh
pmm-admin status
```

## Related topics

- [Install PMM Client using Docker](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/docker.md)
- [Connect database services](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/index.md)
- [PMM Client command reference](https://docs.percona.com/percona-monitoring-and-management/3/use/commands/pmm-admin/pmm-admin.md)
- [Upgrade PMM Client](https://docs.percona.com/percona-monitoring-and-management/3/pmm-upgrade/upgrade_client.md)
- [Uninstall PMM Client](https://docs.percona.com/percona-monitoring-and-management/3/uninstall-pmm/index.md)
- [Unregister PMM Client](https://docs.percona.com/percona-monitoring-and-management/3/uninstall-pmm/unregister_client.md)
