# pw marketplace export

> Source: https://parallelworks.com/docs/cli/pw/marketplace/export

## pw marketplace export

Export marketplace items to bundle directories

### Synopsis

Writes marketplace items to directory bundles (marketplace.yaml, README.md,
icon, and per-version settings) that **pw marketplace import** can recreate on
another platform. With a single item **-o** is the bundle directory; with
several items each bundle is written to **<dir>/<slug>**. Prompts for any
missing input when run on a terminal.

```
pw marketplace export [slug...] [flags]
```

### Examples

```
  # Export an item to ./my-workflow
  pw marketplace export my-workflow
  
  # Export to a specific directory, overwriting existing contents
  pw marketplace export -o /tmp/my-workflow --force my-workflow
  
  # Export several items as subdirectories of /tmp/bundles
  pw marketplace export -o /tmp/bundles my-workflow my-bucket
  
  # Pick the items and destination interactively
  pw marketplace export
```

### Options

```
      --force           Overwrite non-empty destination directories
  -h, --help            help for export
  -o, --output string   Destination directory (single item: the bundle dir, default ./<slug>; multiple items: parent dir for <slug> subdirs, default .)
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw marketplace](/docs/cli/pw/marketplace)	 - Manage marketplace items
