CLI
A powerful Command-Line Interface that gives developers and system administrators direct access to cloud services without ever leaving your terminal.
How to set up the Serverspace CLI?
CLI access is available for both Linux and Windows systems. Simply download the archive from GitHub, extract its contents, and proceed with the installation. A comprehensive installation guide is provided within your admin panel for your convenience.
Effortless user experience
With the Serverspace CLI (Command Line Interface), you can manage virtually every aspect of your VMs, networks, and SSH keys. Terminal access and a basic knowledge of scripts is all that's needed.
Everything you can do in the Serverspace dashboard is also achievable through CLI interface commands.
We offer comprehensive documentation detailing all CLI commands.
Command Line Interface can be installed on both Windows and Linux systems.
See what you can do with Serverspace cloud CLI
Provision and remove cloud infrastructure, power it on or off, attach volumes, and reboot as needed.
Set up and delete private networks, and link public networks to the Internet.
Generate and delete server snapshots, with the ability to restore your server to a saved snapshot anytime.
Request detailed information about your project, server, locations, networks, and snapshots when needed.
FAQ
How is CLI pricing structured?
The CLI is completely free - just download its archive from GitHub at no cost.
What tasks can I perform with a CLI?
• Manage files, directories, and software
• Monitor system performance and processes
• Automate tasks with scripts
• Interact with APIs and cloud services
• Use version control tools like Git
• Deploy and manage servers efficiently
How does the CLI interact with APIs?
The CLI interacts with APIs by sending commands that translate into API requests behind the scenes. Here’s how it works in simple terms:
• Each CLI command is mapped to a specific API call (usually REST or HTTP-based).
• When you run a command, the CLI sends a request to the API endpoint with the necessary parameters.
• The API processes the request and sends back a response, which the CLI then displays as output.
This lets the CLI act as a user-friendly layer over the raw API.
How do I write scripts using CLI?
Here's how to get started:
• Choose a shell: Most scripts use Bash (Linux/macOS) or PowerShell (Windows).
• Create a script file: Save your commands in a .sh (Bash) or .ps1 (PowerShell) file.
• Add commands: Write the same CLI commands you’d normally run manually.
• Make it executable (Linux/macOS): Use chmod +x script.sh to allow execution.
• Run the script: Execute with ./script.sh (Linux/macOS) or .\script.ps1 (Windows).