What is the CLI?
The SimpleCloud CLI is your primary tool for managing your cloud infrastructure. It provides commands for authentication, setup, component management, and server operations.Installation
Install the CLI using the official install script:Command Structure
Global Options
| Option | Description |
|---|---|
-c, --context | Override the active context |
-h, --help | Show help |
-v, --version | Show version number |
Authentication
Login
Authenticate with SimpleCloud.| Option | Description |
|---|---|
--no-browser | Don’t open browser automatically |
--code | Use a pre-approved code from the dashboard |
Logout
Log out from SimpleCloud.Who Am I
Show current user information.Setup & Installation
Setup
Set up SimpleCloud: configure context, install dependencies, and download serverhost.| Option | Description |
|---|---|
-o, --org | Organization ID or slug (skips interactive selection) |
--code | Use a pre-approved code from the dashboard |
Install Components
Install components from the component registry.Update Components
Update installed components to latest versions.Upgrade CLI
Upgrade the CLI to the latest version.Component Lifecycle
Start
Start SimpleCloud components.| Option | Description |
|---|---|
--runner | Override runner type (screen, docker, native) |
--configure | Configure the default runner |
--skip-version-check | Skip version check before starting |
--update | Auto-update outdated components |
Stop
Stop SimpleCloud components.Restart
Restart SimpleCloud components (stop then start).Status
Check status of SimpleCloud components.Logs
View logs for a component.| Option | Description |
|---|---|
-n, --lines | Number of lines to show (default: 100) |
Attach
Attach to a running component console.Context Management
Manage connection contexts. Aliases:contexts, ctx
List Contexts
Use Context
Switch to a context.Add Context
Add a new context.Remove Context
Remove a context.Current Context
Show the current context.Group Management
Manage server groups. Alias:groups
List Groups
Create Group
Create a new group with interactive wizard.| Option | Description |
|---|---|
-y, --auto-retry | Automatically retry with previous answers |
Group Info
Show group information.Start Server in Group
Start a server in the group.Update Group
Update group settings.| Option | Description |
|---|---|
--name | New group name |
--type | Group type (SERVER, PROXY, LOBBY) |
--active | Set active status |
--max-memory | Maximum memory in MB |
--min-memory | Minimum memory in MB |
--max-players | Maximum players |
--scaling-min | Minimum servers for scaling |
--scaling-max | Maximum servers for scaling |
Delete Group
Delete a group.Group Plugins
Manage plugins for a group.Server Management
Manage running servers. Alias:servers
List Servers
Server Info
Show server information.Stop Server
Stop a server.Server Logs
View server logs.Blueprint Management
Manage server blueprints. Aliases:blueprints, bp, bps
List Blueprints
Blueprint Info
Show blueprint information.Update Blueprint
Update blueprint settings.Delete Blueprint
Delete a blueprint.Persistent Server Management
Manage persistent servers. Aliases:pserver, pservers
List Persistent Servers
Create Persistent Server
Create a new persistent server with interactive wizard.Persistent Server Info
Show persistent server information.Update Persistent Server
Update persistent server settings.Delete Persistent Server
Delete a persistent server.Persistent Server Plugins
Manage plugins for a persistent server.Network Management
Manage network configuration. Aliases:networks, net
Register Network
Register a new network.Verify Network
Verify network credentials.Serverhost Management
Manage server hosts. Aliases:serverhosts, host, hosts
Add Serverhost
Add a new serverhost with interactive wizard.Register Serverhost
Register a new serverhost.Verify Serverhost
Verify a serverhost.Shell Completion
Generate shell completion scripts.Quick Reference
| Task | Command |
|---|---|
| Set up SimpleCloud | sc setup |
| Start all components | sc start |
| Check status | sc status |
| View logs | sc logs <component> |
| Create a group | sc group create |
| List groups | sc group list |
| Start a server | sc group start <group> |
| List servers | sc server list |
| Stop a server | sc server stop <name> [id] |
| Attach to console | sc attach <component> |
| Switch context | sc context use <name> |