# Using shopware-cli with ddev

For basic information on shopware-cli see [Shopware docs](https://developer.shopware.com/docs/products/cli/).

To install shopware-cli within your ddev project, add a file `.ddev/web-build/Dockerfile.shopware-cli` with the following contents:

```yaml
# .ddev/web-build/Dockerfile.shopware-cli 
COPY --from=shopware/shopware-cli:bin /shopware-cli /usr/local/bin/shopware-cli
```

Run `ddev restart` to activate the changes.
