CLI Commands Common commands for managing the StavenCTL Agent.
stavenctl-agent is the primary command-line interface for installing, configuring, and managing a StavenCTL server.
Command Description stavenctl-agent --helpShow all available commands. stavenctl-agent --versionDisplay the installed version.
Command Description stavenctl-agent agentStart the StavenCTL Agent daemon. Normally started automatically by the stavenctl-agent systemd service. systemctl status stavenctl-agentShow the agent service status. systemctl restart stavenctl-agentRestart the agent service.
The installer automatically creates and enables the stavenctl-agent systemd service, so manual execution is usually unnecessary.
Command Description sudo stavenctl-agent migrationApply all pending database migrations.
Command Description sudo stavenctl-agent create-adminCreate or reset the main panel administrator account. Requires root privileges.
Command Description stavenctl-agent license activateActivate a license key. stavenctl-agent license verifyVerify the installed license. stavenctl-agent license statusDisplay the current license status. stavenctl-agent license clear-cacheRemove the local license cache.
Command Description stavenctl-agent statusDisplay the current StavenCTL Agent status.
Command Description stavenctl-agent completion bashGenerate Bash completion. stavenctl-agent completion zshGenerate Zsh completion. stavenctl-agent completion fishGenerate Fish completion. stavenctl-agent completion powershellGenerate PowerShell completion.
Run the following commands after installing StavenCTL.
sudo stavenctl-agent migration
sudo stavenctl-agent create-admin
Then verify the installation.
sudo systemctl status stavenctl-agent
sudo systemctl status stavenctl-server
sudo systemctl status stavenctl-nginx
stavenctl-agent status
stavenctl-agent license status