Early access · Sugar Enterprise 25 and 26 · On-premises
Run Quick Repair and every classic Administration > Repair action from SSH, deployment pipelines, or CI. SugarAdminCLI calls Sugar’s own repair code, so behavior matches the admin UI.
Join early access · See the commands
SugarAdminCLI executes Sugar’s native Administration repair routines directly through Symfony Console, ensuring identical behavior to the web UI with zero browser overhead.
--yes is supported only where safe.--dry-run to inspect planned actions and optional --backup-dir before deleting or modifying records.A unified, headless CLI interface for standard repair, diagnostics, and maintenance tasks via php bin/sugarcrm:
php bin/sugarcrm amaiza:admin:qrr -Cphp bin/sugarcrm amaiza:admin:repair:relationships, php bin/sugarcrm amaiza:admin:repair:rolesphp bin/sugarcrm amaiza:admin:maintenance:on and php bin/sugarcrm amaiza:admin:maintenance:offphp bin/sugarcrm amaiza:admin:repair:restore-recordphp bin/sugarcrm amaiza:admin:repair:orphans-cleanup --dry-runphp bin/sugarcrm amaiza:admin:report:schema-diff --module Accountsphp bin/sugarcrm amaiza:admin:report:logic-hooks --module Contactsphp bin/sugarcrm amaiza:admin:report:stuck-jobs --minutes 60, php bin/sugarcrm amaiza:admin:report:table-sizesphp bin/sugarcrm amaiza:admin:fields-meta:export, php bin/sugarcrm amaiza:admin:fields-meta:importphp bin/sugarcrm amaiza:admin:report:stale-bpm-cases, php bin/sugarcrm amaiza:admin:report:stale-journeysSugarAdminCLI does not replace the Administration > Repair screen in Sugar; the web interface remains fully functional. Instead, SugarAdminCLI provides a headless, scriptable CLI layer for automated deployments and terminal workflows.
Installation: Installs cleanly into custom/, registers via the Sugar Extension Framework, and runs natively with php bin/sugarcrm. No Module Loader package or admin UI modules are required.
No. Shell access (SSH) to the hosting environment is required. SugarAdminCLI is designed for on-premises deployments.
SugarAdminCLI supports Sugar Enterprise versions 25 and 26 on-premises.
No. It installs directly into custom/ and registers through the Extension Framework. There is no Module Loader package or admin UI.
No. It runs Sugar’s own core repair routines headlessly so you can script them. The web Repair page remains fully intact and accessible.
Yes. SugarAdminCLI is designed for headless automation. Use --yes where non-interactive execution is allowed, and leverage --dry-run to verify changes beforehand.
Destructive actions require explicit confirmation, support dry runs, and allow optional backup directories. High-risk DDL schema changes cannot run unattended.
SugarAdminCLI is in early access and not yet for sale. Submit an early access request to evaluate it on your Sugar Enterprise 25 or 26 instance.
Built by Jeff Bickart, who has developed Sugar solutions, integrations, and developer tools since 2005 across more than 1,000 Sugar instances.