---
title: "Create and install a package"
slug: "create-and-install-a-package"
abstract: "How to pull, push, and compare resources using serialization commands after you initialize your working folder."
---
# Create and install a package

Packaging lets you add multiple YAML resources to a compressed ZIP file. You can re-apply the resources in the ZIP file later to the same Content Hub instance or a different one.

## Create a package

When you create a package, it:

1. Validates the YAML files.
2. Creates a `.zip` file in your working directory that contains the YAML files.

To create a package:

- Run the following command:

```shell
ch-cli serialization package create --name <NAME>

```

If validation errors occur during the packaging process, the command aborts and provides a list of those errors, which you must resolve before trying again.

## Install a package

When you install a package, it:

1. Unzips the package.
2. Validates the content of all resources to check their integrity.
3. Pushes the resources to the connected Content Hub instance.

To install a package:

- Run the following command:

    ```shellscript
    ch-cli serialization package install --path <PATH>
    ```

If validation errors occur during the installation process, the command aborts and provides a list of those errors, which you must resolve before trying again.