Here’s a list of terminal commands for Magento 2:
bin/magento: The main CLI tool for Magento 2.bin/magento admin:user:create: Create a new admin user.bin/magento cache:clean: Clean the cache.bin/magento cache:flush: Flush the cache.bin/magento cache:disable: Disable all cache types.bin/magento cache:enable: Enable all cache types.bin/magento cache:status: Show the status of all cache types.bin/magento deploy:mode:set: Set the deployment mode.bin/magento indexer:reindex: Reindex data.bin/magento info:adminuri: Show the admin URI.bin/magento module:disable: Disable a module.bin/magento module:enable: Enable a module.bin/magento module:status: Show the status of modules.bin/magento setup:di:compile: Compile DI configuration.bin/magento setup:upgrade: Upgrade the Magento installation.bin/magento setup:static-content:deploy: Deploy static view files.bin/magento setup:store-config:set: Set store configuration values.bin/magento setup:uninstall: Uninstall Magento.bin/magento setup:config:set: Set a configuration value.bin/magento setup:config:show: Show the configuration value.bin/magento setup:rollback: Rollback Magento to the previous version.bin/magento setup:db-data:upgrade: Upgrade the database.bin/magento setup:db-schema:upgrade: Upgrade the database schema.bin/magento setup:db:status: Show the status of the database.bin/magento setup:performance:generate-fixtures: Generate fixtures for performance testing.bin/magento setup:static-content:deploy: Deploy static view files.bin/magento maintenance:enable: Enable maintenance mode.bin/magento maintenance:disable: Disable maintenance mode.bin/magento security:check: Check security.bin/magento dev:source-theme:deploy: Deploy a source theme.
These are just some of the most commonly used Magento 2 CLI commands. For a complete list of commands and options, you can run bin/magento list.












