CLI Reference ​
Complete reference of all bolt-cli commands available in panel v1.6.0. Selected commands have detailed guides - see Mail, Network, Security and User Management.
bolt-cli <command> is equivalent to bolt-shell bolt:<command>. Every command accepts --silent (suppress output) and --help.
Administration & maintenance ​
bolt-cli admin-sso-generate ​
Login to an account via token and URL
bolt-cli admin-sso-generate [--expire [EXPIRE]]Options:
--expire=<value>– Token lifetime (e.g. 30m, 2h, 24h, 7d)
bolt-cli admin-url ​
Get the admin URL for the Bolt control panel
bolt-cli admin-urlbolt-cli app-activate ​
Activate a Bolt app
bolt-cli app-activate <app>Arguments:
app(required)
bolt-cli app-deactivate ​
Deactivate a Bolt App
bolt-cli app-deactivate <app>Arguments:
app(required)
bolt-cli apply-dns-template ​
Apply DNS template to hostname, domains, or both
bolt-cli apply-dns-template [--type [TYPE]]Options:
--type=<value>– What to apply DNS template to (hostname, domain, both)
bolt-cli change-hostname ​
Change the system hostname
bolt-cli change-hostnamebolt-cli check-for-updates ​
Check for updates and notify admin if a new version is available
bolt-cli check-for-updates [--force]Options:
--force– Clear cached version info and notification state before checking
bolt-cli check-public-port-accessibility ​
Check accessibility of public ports
bolt-cli check-public-port-accessibilitybolt-cli check-reseller-limits ​
Evaluate reseller resource limits and emit reached/exceeded notifications
bolt-cli check-reseller-limitsbolt-cli cloudflare-sync ​
Sync pending local DNS changes to Cloudflare for domains with an assigned API key
bolt-cli cloudflare-syncbolt-cli cloudlinux-sync-packages ​
Push every hosting plan's resource limits to its CloudLinux LVE package
bolt-cli cloudlinux-sync-packagesbolt-cli connect-bolt-agent-with-panel ​
Connect Bolt Agent with the Panel
bolt-cli connect-bolt-agent-with-panelbolt-cli create-admin-account ​
Create an admin account for the admin panel
bolt-cli create-admin-accountbolt-cli export-hosting-account ​
Export a hosting account by username
bolt-cli export-hosting-account [--username [USERNAME]]Options:
--username=<value>
bolt-cli firewall ​
Manage firewall rules
bolt-cli firewall [--action [ACTION]] [--port [PORT]] [--zone [ZONE]] [--comment [COMMENT]] [--protocol [PROTOCOL]]Options:
--action=<value>--port=<value>--zone=<value>--comment=<value>--protocol=<value>
bolt-cli flush-dns ​
Flush DNS cache for a domain
bolt-cli flush-dns [--domain [DOMAIN]]Options:
--domain=<value>
bolt-cli get-current-server-ip ​
Command description
bolt-cli get-current-server-ipbolt-cli get-status ​
Get the status of the Bolt installation
bolt-cli get-statusbolt-cli health-check ​
Perform a health check on critical services and restart if necessary
bolt-cli health-checkbolt-cli import-hosting-account ​
Import a hosting account by file
bolt-cli import-hosting-account [--file [FILE]]Options:
--file=<value>
bolt-cli imunify360-api ​
Imunify360 API endpoint for integration with Imunify360
bolt-cli imunify360-api [--request [REQUEST]] [--encoded-options [ENCODED-OPTIONS]]Options:
--request=<value>--encoded-options=<value>
bolt-cli install-package-hooks ​
Install dnf/yum post-transaction hooks so external alt-php / lsphp / php package changes auto-refresh the panel database.
bolt-cli install-package-hooks [--uninstall]Options:
--uninstall– Remove the hook files instead of installing them
bolt-cli jetbackup-ensure-panel-scripts ​
Audit the AdminBolt JetBackup Panel/Scripts hooks and reinstall them when missing or replaced by vendor stubs
bolt-cli jetbackup-ensure-panel-scripts [--with-panel-ini]Options:
--with-panel-ini– Also (re)write the panel.ini MySQL block that enables database backups
bolt-cli jetbackup-hook ​
JetBackup Linux Panel/Scripts hook dispatcher (AB-1127)
bolt-cli jetbackup-hook [--script [SCRIPT]] [--] [<args>...]Arguments:
args
Options:
--script=<value>
bolt-cli mail-ipv6-health ​
Check outbound IPv6 mail deliverability (FCrDNS diagnosis plus 5.7.25/4.7.28 rejections in the Postfix log) and raise a system notification when it degrades
bolt-cli mail-ipv6-healthbolt-cli nodes-health-check ​
Poll every active fleet node's panel API and store health snapshots
bolt-cli nodes-health-check [--prune]Options:
--prune– Also prune snapshots older than the retention window
bolt-cli ols-htaccess-fallback ​
Flip OpenLiteSpeed vhosts with .htaccess directives the bolt_htaccess module rejected back to watcher mode
bolt-cli ols-htaccess-fallbackbolt-cli ping-domains ​
Ping all domains in the database and check if they are up or down.
bolt-cli ping-domainsbolt-cli prune-login-history ​
Delete login history entries older than the configured retention
bolt-cli prune-login-historybolt-cli rebuild-apache-vhosts ​
Re-render the Apache virtual host of every domain from the current template (fleet convergence after template changes, e.g. AB-1129)
bolt-cli rebuild-apache-vhosts [--domain [DOMAIN]]Options:
--domain=<value>– Rebuild only this domain
bolt-cli reconcile-cron-jobs ​
Adopt crontab entries missing from the panel database (e.g. restored by JetBackup) and rewrap them
bolt-cli reconcile-cron-jobsbolt-cli reconfigure-domain-dns-zones ​
Replay DNS zones for hostname, domains, or both by re-provisioning them from the database
bolt-cli reconfigure-domain-dns-zones [--type [TYPE]]Options:
--type=<value>– What to reconfigure DNS zones for (hostname, domain, both)
bolt-cli recovery ​
Recover Bolt application health
bolt-cli recoverybolt-cli refresh-hosting-accounts-stats ​
Refresh hosting accounts statistics
bolt-cli refresh-hosting-accounts-statsbolt-cli request-trial-license ​
Request trial license for your server
bolt-cli request-trial-licensebolt-cli reset-admin-account-password ​
Reset the password of an admin account
bolt-cli reset-admin-account-passwordbolt-cli revalidate-license ​
Revalidate the current license against the license server off the request path
bolt-cli revalidate-licensebolt-cli run-auto-ssl ​
Run AutoSSL for domains
bolt-cli run-auto-ssl [--domain [DOMAIN]] [--force]Options:
--domain=<value>--force– Process all auto-renew certificates regardless of expiration
bolt-cli run-hostname-auto-ssl ​
Auto-renew or apply hostname SSL certificate when needed
bolt-cli run-hostname-auto-ssl [--force]Options:
--force– Re-issue certificate regardless of expiration
bolt-cli set-admin-password ​
Set the admin account password (temporary; must be changed on first login).
bolt-cli set-admin-password [--password [PASSWORD]]Options:
--password=<value>– Password to set. If omitted, a strong one is generated and printed.
bolt-cli show-login-to-admin-link ​
Show login link to admin panel
bolt-cli show-login-to-admin-linkbolt-cli ssl-health-check ​
Check the health of SSL certificates on the server
bolt-cli ssl-health-checkbolt-cli sync-installed-php ​
Sync installed PHP versions in the system and connect any that are not connected yet.
bolt-cli sync-installed-phpService management ​
bolt-cli manage-altphp ​
Manage CloudLinux Alt-PHP versions for AdminBolt (install, remove, or check status)
bolt-cli manage-altphp [--altphp-version [ALTPHP-VERSION]] [--action [ACTION]]Options:
--altphp-version=<value>--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-altphp-default-profile ​
Manage the default Alt-PHP version profiles
bolt-cli manage-altphp-default-profile [--altphp-version [ALTPHP-VERSION]] [--action [ACTION]]Options:
--altphp-version=<value>– The Alt-PHP version to manage--action=<value>– Action to perform (install or remove)
bolt-cli manage-app ​
Run Adminbolt installers/uninstallers with live log tracking.
bolt-cli manage-app [--app-name [APP-NAME]] [--action [ACTION]] [--operation-id [OPERATION-ID]]Options:
--app-name=<value>– Installer alias (e.g. git)--action=<value>– Action to perform: install|uninstall|upgrade--operation-id=<value>– Optional operation id to track logs
bolt-cli manage-cloudlinux ​
Manage CloudLinux installations and configurations (install, remove, or check status)
bolt-cli manage-cloudlinux [--action [ACTION]] [--api-key [API-KEY]] [--enable-php] [--enable-nodejs] [--enable-python] [--enable-ruby]Options:
--action=<value>– Action to perform (install, remove, status)--api-key=<value>– CloudLinux activation / API key (required for install)--enable-php– Enable PHP selector--enable-nodejs– Enable Node.js selector--enable-python– Enable Python selector--enable-ruby– Enable Ruby selector
bolt-cli manage-dns-records-default-template ​
Manage DNS records default template
bolt-cli manage-dns-records-default-template [--action [ACTION]]Options:
--action=<value>– Action to perform (install)
bolt-cli manage-dovecot ​
Manage Dovecot installations and configurations (install, remove, or check status)
bolt-cli manage-dovecot [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-dovecot-profiles ​
Apply default Dovecot settings
bolt-cli manage-dovecot-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-exim ​
Manage Exim installations and configurations (install, remove, or check status)
bolt-cli manage-exim [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-exim-profiles ​
Apply default Exim settings
bolt-cli manage-exim-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-fail2ban ​
Manage Fail2Ban installations and configurations (install, remove, or check status)
bolt-cli manage-fail2ban [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-fail2ban-profiles ​
Apply system profiles for fail2ban
bolt-cli manage-fail2ban-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-litespeed ​
Manage LiteSpeed installations and configurations (install, remove, or check status)
bolt-cli manage-litespeed [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-litespeed-profile ​
Seed and apply the LiteSpeed profile (Apache drop-in + LiteSpeed-native) to the server.
bolt-cli manage-litespeed-profile [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-lsphp ​
Manage LSPHP versions for AdminBolt (install, remove, or check status)
bolt-cli manage-lsphp [--lsphp-version [LSPHP-VERSION]] [--action [ACTION]]Options:
--lsphp-version=<value>--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-lsphp-default-profile ​
Manage the default LSPHP versions profiles
bolt-cli manage-lsphp-default-profile [--lsphp-version [LSPHP-VERSION]] [--action [ACTION]]Options:
--lsphp-version=<value>– The LSPHP version to manage--action=<value>– Action to perform (install or remove)
bolt-cli manage-mailserver ​
Manage MailServer installations and configurations (install, remove, or check status)
bolt-cli manage-mailserver [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-mariadb ​
Manage MariaDB installations and configurations (install, remove, or check status)
bolt-cli manage-mariadb [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-mariadb-default-profile ​
Apply the current MariaDB default profile to the server.
bolt-cli manage-mariadb-default-profile [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-mlmmj ​
Manage Mlmmj installations and configurations (install, remove, or check status)
bolt-cli manage-mlmmj [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-mlmmj-profiles ​
Apply default Mlmmj settings
bolt-cli manage-mlmmj-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-my-apache ​
Manage MyApache installations and configurations (install, remove, or check status)
bolt-cli manage-my-apache [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-my-apache-default-profile ​
Apply the current MyApache default profile to the server.
bolt-cli manage-my-apache-default-profile [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-my-apache-mod-passenger ​
Manage MyApache mod_passenger installations and configurations (install, remove, or check status)
bolt-cli manage-my-apache-mod-passenger [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-my-apache-module ​
Manage MyApache Module configuration (enable or disable a module)
bolt-cli manage-my-apache-module [--module [MODULE]] [--action [ACTION]]Options:
--module=<value>– Module name to enable or disable--action=<value>– Action to perform (enable, disable)
bolt-cli manage-nftable ​
Manage Nftables installations and configurations (install, remove, or check status)
bolt-cli manage-nftable [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-openlitespeed ​
Manage the OpenLiteSpeed installation (install, remove, or check status)
bolt-cli manage-openlitespeed [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-php ​
Manage PHP versions for AdminBolt (install, remove, or check status)
bolt-cli manage-php [--php-version [PHP-VERSION]] [--action [ACTION]]Options:
--php-version=<value>--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-php-default-profile ​
Manage the default PHP versions profiles
bolt-cli manage-php-default-profile [--php-version [PHP-VERSION]] [--action [ACTION]]Options:
--php-version=<value>– The PHP version to manage--action=<value>– Action to perform (install or remove)
bolt-cli manage-postfix ​
Manage Postfix installations and configurations (install, remove, or check status)
bolt-cli manage-postfix [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-postfix-profiles ​
Apply default postfix settings
bolt-cli manage-postfix-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-powerdns ​
Manage PowerDNS installations and configurations (install, remove, or check status)
bolt-cli manage-powerdns [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-redis ​
Manage Redis installations and configurations (install, remove, or check status)
bolt-cli manage-redis [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-redis-profiles ​
Apply default Redis settings
bolt-cli manage-redis-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-rspamd ​
Manage Rspamd installations and configurations (install, remove, or check status)
bolt-cli manage-rspamd [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-rspamd-profiles ​
Apply default Rspamd settings
bolt-cli manage-rspamd-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-spamassassin ​
Manage SpamAssassin installations and configurations (install, remove, or check status)
bolt-cli manage-spamassassin [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-spamassassin-profiles ​
Apply default SpamAssassin settings
bolt-cli manage-spamassassin-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-sshd ​
Manage SSHD installations and configurations (install, remove, or check status)
bolt-cli manage-sshd [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-sshd-profiles ​
Apply default SSHD settings
bolt-cli manage-sshd-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-system-email-account ​
Manage system email accounts (install or remove)
bolt-cli manage-system-email-account [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
bolt-cli manage-vsftpd ​
Manage Vsftpd installations and configurations (install, remove, or check status)
bolt-cli manage-vsftpd [--action [ACTION]]Options:
--action=<value>– Action to perform (install, remove, status)
bolt-cli manage-vsftpd-profiles ​
Apply default vsftpd settings
bolt-cli manage-vsftpd-profiles [--action [ACTION]]Options:
--action=<value>– Action to perform (install or remove)
Setup & internal ​
Internal commands
These commands are used by the installer and upgrade pipeline. Running them manually on a production system may break the installation.
bolt-cli add-bolt-greeting-message ​
Add Bolt greeting message to the /etc/profile file
bolt-cli add-bolt-greeting-messagebolt-cli install-database ​
Install database of the AdminBolt
bolt-cli install-database [--db-path [DB-PATH]] [--app-env [APP-ENV]]Options:
--db-path=<value>--app-env=<value>
bolt-cli key-generate ​
Set the application key
bolt-cli key-generatebolt-cli local-api-database ​
Validate integrated-app SSO token and output database credentials for local API/apps
bolt-cli local-api-database [--token [TOKEN]] [--database [DATABASE]] [--app [APP]] [--format [FORMAT]]Options:
--token=<value>– SSO token--database=<value>– Database key (panel, mailserver, powerdns, all)--app=<value>– App name (must match token)--format=<value>– Output format: json or env
bolt-cli local-api-list-domains ​
List domains from the local API
bolt-cli local-api-list-domainsbolt-cli mark-panel-as-installed ​
Mark the control panel as installed
bolt-cli mark-panel-as-installedbolt-cli post-install-check ​
Post installation check of Adminbolt
bolt-cli post-install-checkbolt-cli proccess-killer ​
Kill the process listening on the given port (Linux)
bolt-cli proccess-killer <port>Arguments:
port(required) – The port number (e.g. 80)
bolt-cli run-base-setup ​
Run base setup for the panel
bolt-cli run-base-setupbolt-cli run-upgrade-steps ​
Run any pending one-shot upgrade steps registered under App\UpgradeSteps.
bolt-cli run-upgrade-steps [--retry-failed] [--only [ONLY]] [--list]Options:
--retry-failed– Re-run steps currently in "failed" state--only=<value>– Only run steps whose id() matches one of the given values--list– List discovered steps and their current status without running anything
bolt-cli set-ini-settings ​
Set INI settings in bolt.ini.php
bolt-cli set-ini-settings <key> <value>Arguments:
key(required)value(required)
bolt-cli setup-cron-jobs ​
Setup Cron Job Commands
bolt-cli setup-cron-jobsInstalls or updates the root crontab entries idempotently, so the command is safe to re-run. A panel upgrade reconciles any missing entry automatically.
| Schedule | Command | Purpose |
|---|---|---|
*/35 * * * * | check-for-updates | Check for panel updates and notify the admin. |
*/5 * * * * | refresh-hosting-accounts-stats | Refresh hosting account usage statistics. |
* * * * * | Laravel scheduler | Run the panel's scheduled tasks. |
0 3 * * * | run-hostname-auto-ssl | Renew the panel hostname SSL certificate. |
30 2 * * * | run-auto-ssl | Issue and renew SSL certificates for hosting domains. |
Several tasks run from the Laravel scheduler rather than from their own crontab line, so they need no entry of their own:
| Frequency | Command | Purpose |
|---|---|---|
| Every 5 minutes | reconcile-cron-jobs | Adopt cron jobs restored outside the panel. Runs only where hosting accounts exist. |
| Every 5 minutes | ols-htaccess-fallback | Move OpenLiteSpeed sites off per-request .htaccess handling when they use a directive it does not cover. Runs only while OpenLiteSpeed is active in module mode. |
| Hourly | revalidate-license | Refresh the cached license validity. |
| Daily at 04:40 | prune-login-history | Delete login history older than the configured retention. |
bolt-cli setup-firewall ​
Setup firewall
bolt-cli setup-firewallbolt-cli setup-hidepid ​
Provision /proc hidepid on the local node so users cannot read other users' process arguments (CWE-214)
bolt-cli setup-hidepidbolt-cli setup-web-panel-port ​
Change the web panel port to a new value
bolt-cli setup-web-panel-port [--port [PORT]]Options:
--port=<value>– Web panel port (default: 8443)
bolt-cli softaculous-cronjob ​
Add Softaculous crontab
bolt-cli softaculous-cronjob [--action [ACTION]]Options:
--action=<value>