Using shopware-cli with ddev

This page explains how to use shopware-cli with ddev. shopware-cli replaces some of Shopware's commands (like bin/storefront-build.sh), and adds a set of useful commands.

For basic information on shopware-cli see Shopware docs.

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

# .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.

Last updated

Was this helpful?