> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wp-content.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Push a plugin archive

> wpc plugin:push

Upload a ZIP archive to the configured plugin repository.

## Usage

```bash theme={null}
wpc plugin:push [options] [--] <artifact>
```

## Arguments

<ParamField body="artifact" type="string" required>
  Path to the ZIP file to upload.
</ParamField>

## Options

<ParamField body="--message, -m" type="string">
  Release notes for this version.
</ParamField>

<ParamField body="--clean" type="boolean">
  Delete the ZIP file after it has been uploaded.
</ParamField>

## Examples

```bash theme={null}
# Push the plugin archive without message
$ wpc plugin:push dist/my-plugin.zip

# Push the plugin archive with a commit message
$ wpc plugin:push --m "🐛 Fix some bugs" dist/my-plugin.zip

# Push the plugin archive and clean previous versions
$ wpc plugin:push --clean dist/my-plugin.zip
```
