﻿# octopus package zip create

Create zip package

```text
Usage:
  octopus package zip create [flags]

Flags:
      --id string           The ID of the package.
  -v, --version string      The version of the package, must be a valid SemVer.
      --base-path string    Root folder containing the contents to zip.
      --out-folder string   Folder into which the zip file will be written.
      --include strings     Add a file pattern to include, relative to the base path e.g. /bin/*.dll; defaults to "**".
      --verbose             Verbose output.
      --overwrite           Allow an existing package file of the same ID/version to be overwritten.

Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

```

## Examples

:::div{.success}
**Octopus Samples instance**

Many of the examples we use, reference the [samples instance](https://samples.octopus.app/app#/users/sign-in) of Octopus Deploy. If you'd like to explore the samples instance, you can log in as a guest.
:::

```bash
octopus package zip create --id SomePackage --version 1.0.0

```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
