CLI Reference
36 commands across 9 categories.
fx site create <domain>Create a new WordPress site with NGINX, database, and FastCGI cache.
fx site create example.comfx site delete <domain>Delete a WordPress site, database, and all configs.
fx site delete example.comfx site listList all WordPress sites with status.
fx site info <domain>Show paths, SSL, cache stats, disk usage.
fx site info example.comfx ssl install <domain>Install Let's Encrypt SSL with HTTPS redirect and HSTS.
fx ssl install example.comfx ssl renew <domain>Renew SSL certificate.
fx ssl renew example.comfx ssl remove <domain>Remove SSL and revert to HTTP.
fx ssl remove example.comfx auth on <domain>Enable HTTP Basic Auth for wp-login.php.
fx auth on example.comfx auth off <domain>Disable HTTP Basic Auth.
fx auth off example.comfx auth add <domain> <user>Add Basic Auth user.
fx auth add example.com adminfx auth remove <domain> <user>Remove an auth user.
fx auth remove example.com adminfx db password <domain>Change DB password and update wp-config.php.
fx db password example.comfx db create <name>Create database with random password.
fx db create mydbfx db delete <name>Delete database and user.
fx db delete mydbfx db listList all databases with sizes.
fx db export <db>Export database to SQL.gz.
fx db export example_comfx db import <db> <file>Import SQL file into database.
fx db import example_com backup.sqlfx cache clearClear NGINX FastCGI cache.
fx cache statusShow cache size, file count, hit/miss stats.
fx php versionDisplay current PHP version.
fx php listList installed PHP versions.
fx php switch <ver>Switch PHP version. Updates all configs.
fx php switch 8.3fx php restartRestart PHP-FPM.
fx backup create <domain>Full backup: files + database.
fx backup create example.comfx backup listList backups with sizes and dates.
fx backup restore <file>Restore from backup.
fx backup restore file.tar.gzfx pma installInstall phpMyAdmin on port 8080.
fx pma removeRemove phpMyAdmin.
fx adminer installInstall Adminer on port 8081.
fx adminer removeRemove Adminer.
fx files installInstall TinyFileManager.
fx files removeRemove File Manager.
fx statusStatus of all services.
fx versionDisplay FlashXpress version.
fx updateUpdate to latest version.
fx helpShow all commands.