![]() |
|
Guide CyberPanel CLI Cheat Sheet: Every cyberpanel Command With Working Examples - Printable Version +- AdminsForum (https://adminsforum.com) +-- Forum: Free & open-source control panels (https://adminsforum.com/Forum-free-open-source-control-panels) +--- Forum: CyberPanel (https://adminsforum.com/Forum-cyberpanel) +---- Forum: CyberPanel Guides & Tutorials (https://adminsforum.com/Forum-cyberpanel-guides-tutorials) +----- Forum: CyberPanel CLI & API Guides (https://adminsforum.com/Forum-cyberpanel-cli-api-guides) +----- Thread: Guide CyberPanel CLI Cheat Sheet: Every cyberpanel Command With Working Examples (/Thread-guide-cyberpanel-cli-cheat-sheet-every-cyberpanel-command-with-working-examples) |
CyberPanel CLI Cheat Sheet: Every cyberpanel Command With Working Examples - JAY - 10-24-2026 CyberPanel CLI Cheat Sheet: Every cyberpanel Command With Working Examples Everything you click in CyberPanel can also be done with the cyberpanel command over SSH. That's handy for scripts, for creating 20 sites at once, and for the day the web panel won't load. This cheat sheet lists every function in CyberPanel 3.0 (we pulled the list straight from the installed CLI) with examples. The basics Code: cyberpanel FUNCTION --option value --option valueCode: cyberpanel createPackage --owner admin --packageName Business --diskSpace 0 --bandwidth 0 --emailAccounts 50 --dataBases 20 --ftpAccounts 10 --allowedDomains 0 2>/dev/null
{"success": 1, "errorMessage": "None"}
Websites Code: cyberpanel createWebsite --package Default --owner admin --domainName example.com --email [email protected] --php 8.3
cyberpanel deleteWebsite --domainName example.com
cyberpanel createChild --masterDomain example.com --childDomain shop.example.com --owner admin --php 8.3
cyberpanel deleteChild --childDomain shop.example.com
cyberpanel changePHP --domainName example.com --php 8.3
cyberpanel changePackage --domainName example.com --packageName Starter
cyberpanel listWebsitesJson
cyberpanel listWebsitesPrettyCode: --ssl 1Code: --dkim 1Code: --phpCode: 8.3Code: public_html/CHILDDOMAINCode: --pathSSL certificates Code: cyberpanel issueSSL --domainName example.com # Let's Encrypt for a site
cyberpanel hostNameSSL --domainName panel.example.com # SSL for the panel on :8090
cyberpanel mailServerSSL --domainName example.com # SSL for mail (IMAP/SMTP)
cyberpanel issueSelfSignedSSL --domainName example.comDatabases Code: cyberpanel createDatabase --databaseWebsite example.com --dbName example_wp --dbUsername example_user --dbPassword 'StrongPass123'
cyberpanel deleteDatabase --dbName example_wp
cyberpanel listDatabasesJson --databaseWebsite example.com
cyberpanel listDatabasesPretty --databaseWebsite example.comCode: cyberpanel createEmail --domainName example.com --userName info --password 'StrongPass123'
cyberpanel changeEmailPassword --email [email protected] --password 'NewPass456'
cyberpanel deleteEmail --email [email protected]
cyberpanel listEmailsJson --domainName example.com
cyberpanel listEmailsPretty --domainName example.comFTP Code: cyberpanel createFTPAccount --domainName example.com --userName ftpuser --password 'StrongPass123' --owner admin
cyberpanel changeFTPPassword --userName example_ftpuser --password 'NewPass456'
cyberpanel deleteFTPAccount --userName example_ftpuser
cyberpanel listFTPJson --domainName example.com
cyberpanel listFTPPretty --domainName example.comDNS (PowerDNS) Code: cyberpanel createDNSZone --owner admin --domainName example.com
cyberpanel createDNSRecord --domainName example.com --name www.example.com --recordType A --value 203.0.113.10 --priority 0 --ttl 3600
cyberpanel listDNSJson --domainName example.com
cyberpanel listDNSPretty --domainName example.com
cyberpanel deleteDNSRecord --recordID 12
cyberpanel listDNSZonesJson
cyberpanel deleteDNSZone --domainName example.comCode: recordIDPackages and users Code: cyberpanel createPackage --owner admin --packageName Starter --diskSpace 10000 --bandwidth 100000 --emailAccounts 10 --dataBases 5 --ftpAccounts 5 --allowedDomains 3
cyberpanel deletePackage --packageName Starter
cyberpanel listPackagesJson
cyberpanel listPackagesPretty
cyberpanel createUser --firstName Jane --lastName Doe --email [email protected] --userName jane --password 'StrongPass123' --websitesLimit 5 --selectedACL user --securityLevel HIGH
cyberpanel editUser --userName jane --firstName Jane --lastName Doe --email [email protected] --password 'NewPass456' --securityLevel HIGH
cyberpanel suspendUser --userName jane --state SUSPEND
cyberpanel deleteUser --userName jane
cyberpanel listUsersCode: StarterCode: admin_Code: admin_StarterCode: listPackagesJsonBackups Code: cyberpanel createBackup --domainName example.com
cyberpanel restoreBackup --fileName /home/example.com/backup/backup-example.com-DATE.tar.gzCode: /home/example.com/backup/Code: --backupPathApps, maintenance and tools Code: cyberpanel installWordPress --domainName example.com --email [email protected] --userName wpadmin --password 'StrongPass123' --siteTitle 'My Site'
cyberpanel installJoomla --domainName example.com --password 'StrongPass123' --siteTitle 'My Site'
cyberpanel version
cyberpanel upgrade # upgrade CyberPanel (snapshot first)
cyberpanel utility # menu with handy maintenance tools
cyberpanel helpCode: switchTOLSWSCode: --licenseKeyPanel-related commands outside the cyberpanel tool
Scripting tips
More CyberPanel guides
Tested on CyberPanel 3.0 (build 8, OpenLiteSpeed edition) on Ubuntu 24.04, October 2026. Menu names can change slightly between versions. |