📋Shopware 6 commands

The list of the most useful Shopware 6 commands

So now that we know, how to work with Console, here comes the list of the commands, commonly used during Shopware 6 plugin development:

Clear the cache
cache:clear

List all plugins

plugin:list

Create a plugin skeleton

plugin:create

Install plugin(s)

plugin:install

Uninstall plugin(s)

plugin:uninstall

Activate plugin(s)

plugin:activate

Deactivate plugin(s)

plugin:deactivate

Update plugin(s)

plugin:update

Create a theme skeleton

theme:create

Compile the theme

theme:compile

Create an admin user

user:create

List available services

debug:container

If you want to see the parameters, that these commands accept, you can safely run them with -h, without really doing anything

php bin/console plugin:create -h

Now follows some additional information on the fore mentioned commands, that you might find useful.

Last updated