September 28, 2026
A command-line tool for managing Civo.com account resources from the terminal.
macOS (Homebrew):
```sh
brew tap civo/tools
brew install civo
```
macOS / Linux (curl):
```sh
curl -sL https://civo.com/get | sh
```
Windows (Chocolatey):
```
choco install civo-cli
``````sh
# 添加 API Key
civo apikey add Demo_Test_Key YOUR_API_KEY
# 设置为默认 Key
civo apikey current Demo_Test_Key
# 查看实例列表
civo instance list
# 创建实例
civo instance create --size g2.xsmall
# 查看 Kubernetes 集群
civo k8s list
```Product facts
- Type
- CLI / Terminal
- Category
- Development & Engineering › Cloud Infrastructure
- Pricing
- Open source
- License
- Apache-2.0
- Launched
- Sep 28, 2026
- Listed
- Sep 28, 2026
- Website
- github.com
Overview
Civo CLI is a command-line tool written in Go for managing your Civo.com account and its resources from the terminal. While Civo offers a web control panel, the CLI is better suited for automation, scripting, or managing multiple complex services.
Key Capabilities
Civo CLI supports managing the following resource types:
- Compute & Storage: Instances, Volumes, Disk Images, Resource Snapshots
- Kubernetes: Kubernetes clusters, Kubernetes applications
- Networking & Security: Networks, Firewalls, Load Balancers, Domains and Domain Records
- Other Resources: Object Stores, Database Backup and Restore, SSH Keys, Teams, Permissions, Quota, Sizes, Region, and more
Installation
The tool is distributed as a binary and supports multiple operating systems:
- macOS: Install via Homebrew or a curl script
- Windows: Install via Chocolatey or Scoop
- Linux: Install via a curl script, Homebrew, download the binary with wget, or build from source
- Docker: A Docker image
civo/cli:latestis provided, which includes kubectl and can be used by mounting a configuration file
Authentication & Configuration
Authentication requires an API Key before use. You can obtain an API Key from the Civo website and add it to the CLI using the civo apikey add command. Multiple API Keys can be stored to manage different accounts, and you can switch the default key with civo apikey current. Additionally, tokens can be passed via the global environment variable CIVO_TOKEN, which is ideal for scripts and CI/CD pipelines.
Global Options
The CLI provides several global flags, including specifying a config file path (--config), output format (-o, supporting json/human/custom), custom output fields (-f), region (--region), pretty-printed JSON output (--pretty), and auto-confirming prompts (-y).
Update Mechanism
The CLI reminds users to check for updates every 24 hours and also suggests updating when errors occur. You can upgrade to the latest version using the civo update command.
This project is open-sourced under the Apache-2.0 license and is actively developed and maintained.
Key features
- Multi-resource management: Manage instances, Kubernetes clusters, networks, firewalls, load balancers, object stores, and other Civo resources.
- Cross-platform installation: Binaries available for macOS, Windows, and Linux, plus support for running in Docker containers.
- Multiple API Keys: Store multiple API Keys to manage different accounts and switch the active default key.
- Environment variable authentication: Pass credentials via the CIVO_TOKEN environment variable, ideal for scripts and CI/CD pipelines.
- Multiple output formats: Supports human, json, and custom output formats, with customizable output fields.
- Automatic update reminders: Prompts for updates every 24 hours, or upgrade manually with the civo update command.
- Shell autocompletion: Enable shell autocompletion to speed up command-line input.
- kubectl built into Docker: The Docker image includes kubectl, so you can use Kubernetes features directly after mounting your config.
- Contextual help: Use help or the -h flag to get context-aware help for commands and subcommands.
Releases
Notify meQ&A
- How do I install Civo CLI on macOS?AI-generated
- Install via Homebrew by running `brew tap civo/tools` followed by `brew install civo`, or simply run `curl -sL https://civo.com/get | sh`.
- How do I install Civo CLI on Windows?AI-generated
- Install via Chocolatey with `choco install civo-cli`, or via Scoop by first adding the extras bucket and then running `scoop install civo`.
- How do I configure an API Key?AI-generated
- Add an API Key using `civo apikey add <name> <key>`. If you have multiple keys, set the default one with `civo apikey current <name>`. You can also authenticate by setting the `CIVO_TOKEN` environment variable.
- How do I run Civo CLI with Docker?AI-generated
- First create a config file with `touch $HOME/.civo.json`, then run `docker run -it --rm -v $HOME/.civo.json:/.civo.json civo/cli:latest`. Setting up an alias is recommended to simplify the command.
- How do I update Civo CLI to the latest version?AI-generated
- Run the `civo update` command to upgrade the CLI to the latest version. The CLI also automatically reminds you to update every 24 hours.
- What output formats does Civo CLI support?AI-generated
- Specify the format using the `-o` or `--output` flag. Supported formats are json, human (default), and custom. You can also use `--pretty` to format JSON output, or `-f` to specify custom output fields.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives
The product content on this page was translated by AI from the author's original.


