# create-upgrade-bundle (Beta)

This topic describes the options available with the Embedded Cluster `create-upgrade-bundle` command. Use this command to produce a bundle used for offline or constrained-path upgrades.

In most clusters, you do not need this command. When you run `upgrade` on the primary controller, the daemon automatically streams the upgrade bundle to each remote node. See [Multi-node clusters](updating-embedded#multi-node-clusters).

Use `create-upgrade-bundle` when you need to upgrade nodes manually, for example when a node is running an Embedded Cluster version earlier than 3.2 and cannot receive streamed upgrades. Copy the output bundle to the target node and run [node upgrade](embedded-cluster-node-upgrade).

## Usage

```bash
sudo ./<app-slug> create-upgrade-bundle [flags]
```

## Flags

<table>
  <tr>
    <th width="30%">Flag</th>
    <th width="20%">Type</th>
    <th width="50%">Description</th>
  </tr>
  <tr>
    <td>`--output`</td>
    <td>string</td>
    <td>Output path for the bundle. **Default:** A path of the form `./cli-upgrade-TIMESTAMP.tar.gz` (the CLI fills in the timestamp).</td>
  </tr>
  <tr>
    <td>`-h`, `--help`</td>
    <td></td>
    <td>Help for `create-upgrade-bundle`.</td>
  </tr>
</table>