> For the complete documentation index, see [llms.txt](https://next-docs.cloudio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://next-docs.cloudio.io/app-deployment/patch-management.md).

# Patch Management

### Creating an Application Patch

```bash
$ cloudio create-patch -a my-app
```

Running the above command generates an application patch as a zip file. The zip contains all the metadata in various .json & .js files. You can extract and check into your source control system e.g. GitHub.

![](/files/-MfKIlAfUUhUtvmTin5v)

> Example Output

![](/files/-MfKIXZHMYQX2s2RMACb)

### Verifying an Application Patch

Once a patch is generated from a source instance, you can verify it against a target instance to review the changes to be applied to the target instance.

```bash
$ cloudio verify-patch -a my-app
```

![](/files/-MfKT-_5axEdOjTi9Qzg)

### Applying an Application Patch

Once reviewed and approved, you can apply the patch using the following command

```bash
$ cloudio patch -a my-app
```

![](/files/-MfKTS3v2Ve7ld__XhuG)

{% hint style="info" %}
You must authenticate with a user having a `Patch Administrator` role assigned to perform the above operations.
{% endhint %}
