Run it
bin/magento mageforge:theme:build <theme-code> [<theme-code> ...]
bin/magento frontend:build Magento/luma Magento/blankBuilds selected themes by compiling assets (CSS/TailwindCSS) and deploying static content.
Arguments:
themeCodes— One or more theme codes in formatVendor/theme. Accepts wildcards likeMagento/*.
Options:
--with-parents— Build all parent themes first, without asking.--no-parents— Never build parent themes (default in non-interactive environments).
Behavior:
- If no theme codes are provided, an interactive prompt lets you select themes.
- For each theme, the appropriate builder is determined automatically (Hyvä, TailwindCSS, Magento Standard, etc.).
- If a selected theme has parent themes (e.g. a child of
Vendor/base), you are asked whether to build them first, topmost ancestor first. Only parents with a builder are offered; vendor (Composer) themes are skipped. - Displays a summary of built themes and execution time (including the installed Hyvä version for Hyvä themes).