The command-line utility
Magento 2.0 has a command-line utility to help developers manage installation and configuration tasks. The new command-line interface can do the following:
- Install Magento
- Manage the cache
- Manage indexers
- Configure and run cron
- Compile code
- Set the Magento mode
- Set the URN highlighter
- Create dependency reports
- Translate dictionaries and language packages
- Deploy static view files
- Create symlinks to LESS files
- Run unit tests
- Convert layout into XML files
- Generate data for performance testing
- Create CSS from LESS (CSS real-time compilation)
To work with this tool, you will need to open a terminal (Linux, OS X) or command prompt (Windows) and access the <your Magento install dir>/bin
directory. Then, enter with the php magento
command to ...
Get Magento 2 - Build World-Class online stores now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.