Magento and Shopware commands
How to run Magento and Shopware CLI commands on Webscale Essentials.
Use the dev helper to run Magento and Shopware commands inside the application container.
1. Open SSH Connect and dev shell
In Webscale CP:
- Accordion Menu (top left) > SSH Connect
- Find the instance you want to connect to and open a terminal session by clicking on the instance link.
Then run:
dev
to jump to the php-fpm container.
All commands below are run inside this dev shell in `/var/www/html`.
2. Magento commands
Pattern
php bin/magento <command>
Common examples
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade --keep-generated
php bin/magento setup:static-content:deploy en_US -f --jobs=4
3. Shopware commands
Pattern
php bin/console <command>
Common examples
php bin/console database:migrate --all
php bin/console cache:clear:all
php bin/console cache:warmup
php bin/console theme:compile
4. Related how-to guides
Have questions not answered here?
Contact Support
to get more help.
Last modified on June 3, 2026