---
title: rpk cluster license set
latest-redpanda-tag: v24.3.9
latest-console-tag: v3.14.0
latest-operator-version: v2.3.8-24.3.6
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: December 3, 2025
latest-connect-version: 4.118.0
docname: rpk/rpk-cluster/rpk-cluster-license-set
page-component-name: streaming
page-version: "24.3"
page-component-version: "24.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-cluster/rpk-cluster-license-set.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/24.3/modules/reference/pages/rpk/rpk-cluster/rpk-cluster-license-set.adoc
page-git-created-date: "2023-05-17"
page-git-modified-date: "2024-06-14"
page-generated-content: none
support-status: past end-of-life
---

# rpk cluster license set

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

<!-- Source: https://docs.redpanda.com/streaming/24.3/reference/rpk/rpk-cluster/rpk-cluster-license-set.md -->

Upload license to the cluster. Updating the license does not require a cluster restart.

You can either provide a path to a file containing the license:

```bash
rpk cluster license set --path /home/organization/redpanda.license
```

Or inline the license string:

```bash
rpk cluster license set <license string>
```

If neither are present, `rpk` will look for the license in the default location `/etc/redpanda/redpanda.license`.

## Usage

```bash
rpk cluster license set [flags]
```

## Flags

| **Value** | **Type** | **Description** |
| --- | --- | --- |
| `-h, --help` | - | Help for set. |
| `--path` | string | Path to the license file. |
| `--config` | string | Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`. |
| `-X, --config-opt` | stringArray | Override `rpk` configuration settings. See [`rpk -X`](https://docs.redpanda.com/streaming/24.3/reference/rpk/rpk-x-options/) or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail. |
| `--profile` | string | Profile to use. See [`rpk profile`](https://docs.redpanda.com/streaming/24.3/reference/rpk/rpk-profile/rpk-profile/) for more details. |
| `-v, --verbose` | - | Enable verbose logging. |