None found
Your search returned no hits.
Tjeneste-oppgradering: Følg linken for nærmere status vedrørende migrering, for generelle spørsmål og svar se vårt hjelpesenter.
95% of all problems already have a solution in our knowledgebase
Added: 07.07.2020 15:51:36 Last updated: 07.07.2020 15:51:36
If one uses Magento 2 then it is necessary to use SSH / CLI commands to perform necessary tasks. The Magento documentation can be confusing and the commands are not located in the same place, so we have compiled the most useful and most used commands.
The commands below assume that one is in the same directory as the website itself.
1. Help
The command below will list sub commands and parameters that can be used.
2. List of commands
This will list all possible commands one can run for Magento 2.
3. Cache
Show cache status.
Flush cache. Purges the whole cache folder.
Clean cache.
4. Mode
See the status of the mode in use.
Change to developer mode.
Change to production mode.
5. Maintenance
Check the status of the page for maintenance.
6. Indexing
This shows the status of the indexes.
Reindexing
7. Modules
This shows modules that are installed.