đŸŒŠī¸ Onie Cloud CLI

Manage your cloud infrastructure from the terminal

v1.0.0 â€ĸ ● 60+ commands â€ĸ 5 platforms
curl -fsSL https://cli.onie.net/install.sh | bash

đŸ“Ļ Download

🐧
Linux
x86_64 (AMD64)
~6.1 MB
🐧
Linux
ARM64 (aarch64)
~5.7 MB
🍎
macOS
Intel (x86_64)
~6.2 MB
🍎
macOS
Apple Silicon (M1/M2/M3)
~5.8 MB
đŸĒŸ
Windows
x86_64 (AMD64)
~6.3 MB
Windows: Download the .exe file, rename to onie.exe, and add to your PATH. Or use WSL with the Linux binary.

✨ Features

⚡

Fast & Lightweight

Single binary, ~6MB, zero dependencies. Instant startup.

đŸ–Ĩī¸

Interactive Shell

Tab completion, command history, colored output.

📊

Multiple Formats

Table, JSON, CSV, or text output. Pipe-friendly.

đŸ‘Ĩ

Multi-Profile

Switch between accounts and environments easily.

🔒

Secure

Token-based auth. Credentials stored locally.

🌍

Cross-Platform

Linux, macOS, Windows. Intel & ARM.

🚀 Getting Started

1. Install

# One-line install
curl -fsSL https://cli.onie.net/install.sh | bash

2. Login

$ onie login
API URL (https://api.onie.net): https://api.onie.net
Email: your@email.com
Password: ********
✓ Logged in as Your Name

3. Start Managing

# 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 Reference

Virtual Machines

CommandDescription
onie vm listList all VMs
onie vm list state=RunningFilter 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

Billing

CommandDescription
onie billing balanceAccount balance
onie billing invoicesList invoices
onie billing invoice id=<uuid>Invoice details
onie billing paymentsPayment history
onie billing creditsCredit balance

Infrastructure

CommandDescription
onie region listAvailable regions
onie plan listAvailable plans
onie template listOS templates
onie network listNetworks
onie volume listBlock storage volumes
onie k8s listKubernetes clusters
onie ssh-key listSSH keys
onie snapshot listSnapshots
onie backup listBackups

Support

CommandDescription
onie ticket listList tickets
onie ticket create subject="..." message="..."Create ticket
onie ticket reply id=<uuid> message="..."Reply to ticket
onie ticket close id=<uuid>Close ticket

Account

CommandDescription
onie loginLogin to account
onie logoutLogout
onie profileView profile
onie whoamiCurrent connection info
onie notification listNotifications

Configuration

CommandDescription
onie set url=https://api.onie.netSet API URL
onie set output=jsonSet output format (table/json/csv/text)
onie set profile=prodSwitch profile

🐚 Interactive Shell

$ 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! 👋

âš™ī¸ Configuration

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"
    }
  }
}