🔬
Documentation
  • 👋Development Documentation
  • Overview
    • 💡What we do
    • ✨Our Features
  • Product Guides
    • 📪Making a post
    • 📎Understanding Projects
  • Fundamentals
    • 🛠️Getting set up
      • 📝Setting permissions
      • 🧑Inviting Members
  • Use Cases
    • 🎨For Designers
    • Page 1
    • 🖥️For Developers
      • Example of .gitignore
      • Cusotm Theme File Sync script for specified directories with auto git commit
    • ◀️List of Plugins
    • 👨‍💻Tips and Tricks
      • CLI schedule task and consume service
      • ♻️Automatic database backup (Updated)
      • 🛠️Execute a command from host to docker using terminal
      • 📋Shopware 6 commands
      • 😀Activate all plugins via CLI
      • ☠️Kill a process on a port [Linux]
      • 📄How do you import the database using CLI
      • 👨‍🔧Change PHP Configuration [Terminal]
      • 👁️Access to PHP Path Aixspro
      • 🌐Manage Apache services [Linux]
    • 📄SQL Tips & Tricks (shopware 6)
Powered by GitBook
On this page
  • Activate all plugins using one command
  • Activate multiple plugin one by one
  • The list of the most useful Shopware 6 commands
  1. Use Cases
  2. Tips and Tricks

Activate all plugins via CLI

possible to activate all plugins via CLI

Activate all plugins using one command

Make sure to refresh the plugin and then to use install

bin/console plugin:refresh
bin/console plugin:install -a -n ""

Activate multiple plugin one by one

// plugin to activate one by one 
php bin/console plugin:activate TestPlugin OtherTestPlugin

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.

PreviousShopware 6 commandsNextKill a process on a port [Linux]

Last updated 2 years ago

👨‍💻
😀