Manage your cloud infrastructure from the terminal
onie.exe, and add to your PATH. Or use WSL with the Linux binary.
Single binary, ~6MB, zero dependencies. Instant startup.
Tab completion, command history, colored output.
Table, JSON, CSV, or text output. Pipe-friendly.
Switch between accounts and environments easily.
Token-based auth. Credentials stored locally.
Linux, macOS, Windows. Intel & ARM.
# One-line install curl -fsSL https://cli.onie.net/install.sh | bash
$ onie login API URL (https://api.onie.net): https://api.onie.net Email: your@email.com Password: ******** â Logged in as Your Name
# List your virtual machines $ onie vm list ID NAME STATE PUBLIC IP CREATED abc123 web-01 Running 203.0.113.1 2026-01-15 def456 db-01 Stopped â 2026-01-20 # Start a VM $ onie vm start id=abc123 â Action 'start' initiated # Check billing balance $ onie billing balance FREE BALANCE 100,000 PAYABLE BALANCE 500,000 TOTAL BALANCE 600,000 # JSON output for scripting $ onie set output=json $ onie vm list [{"id":"abc123","name":"web-01","state":"Running",...}]
| Command | Description |
|---|---|
| onie vm list | List all VMs |
| onie vm list state=Running | Filter by state |
| onie vm get id=<uuid> | Get VM details |
| onie vm start id=<uuid> | Start a VM |
| onie vm stop id=<uuid> | Stop a VM |
| onie vm restart id=<uuid> | Restart a VM |
| onie vm delete id=<uuid> | Delete a VM |
| onie vm snapshots id=<uuid> | List VM snapshots |
| onie vm backups id=<uuid> | List VM backups |
| onie vm metrics id=<uuid> | Get VM metrics |
| onie vm console id=<uuid> | Get console URL |
| Command | Description |
|---|---|
| onie billing balance | Account balance |
| onie billing invoices | List invoices |
| onie billing invoice id=<uuid> | Invoice details |
| onie billing payments | Payment history |
| onie billing credits | Credit balance |
| Command | Description |
|---|---|
| onie region list | Available regions |
| onie plan list | Available plans |
| onie template list | OS templates |
| onie network list | Networks |
| onie volume list | Block storage volumes |
| onie k8s list | Kubernetes clusters |
| onie ssh-key list | SSH keys |
| onie snapshot list | Snapshots |
| onie backup list | Backups |
| Command | Description |
|---|---|
| onie ticket list | List tickets |
| onie ticket create subject="..." message="..." | Create ticket |
| onie ticket reply id=<uuid> message="..." | Reply to ticket |
| onie ticket close id=<uuid> | Close ticket |
| Command | Description |
|---|---|
| onie login | Login to account |
| onie logout | Logout |
| onie profile | View profile |
| onie whoami | Current connection info |
| onie notification list | Notifications |
| Command | Description |
|---|---|
| onie set url=https://api.onie.net | Set API URL |
| onie set output=json | Set output format (table/json/csv/text) |
| onie set profile=prod | Switch profile |
$ onie đŠī¸ Onie Cloud CLI v1.0.0 Connected to https://api.onie.net as your@email.com Type 'help' for commands, 'exit' to quit onie> vm list ID NAME STATE PUBLIC IP abc123 web-01 Running 203.0.113.1 onie> vm stop id=abc123 â VM stopped onie> billing balance TOTAL BALANCE 600,000 onie> exit Bye! đ
Config is stored at ~/.onie/config.json
{
"current_profile": "default",
"profiles": {
"default": {
"url": "https://api.onie.net",
"token": "your-token-here",
"output": "table"
},
"staging": {
"url": "https://apidev.onie.net",
"token": "staging-token",
"output": "json"
}
}
}