Dalang CLI
Manage your cloud infrastructure from the terminal. Fast, scriptable, and developer-friendly.
Linux / macOS / Termux:
Windows (PowerShell):
Your Services (3 total) ─────────────────────────────────────────────────────────────────────────── TYPE NAME STATUS EXPIRES DETAILS ─────────────────────────────────────────────────────────────────────────── vps my-webapp RUNNING 2026-09-15 2C/2048MB/20GB vps database-server RUNNING 2026-10-01 4C/4096MB/50GB container n8n-automation RUNNING n8n/starter
my-webapp — Resource Usage Uptime: 12d 4h 37m CPU: ░░░░░░░░░░░░░░░░░░░░ 3% (load 0.06, 0.02, 0.00 over 2 vCPU) Memory: ████░░░░░░░░░░░░░░░░ 21% (430 MB / 2.0 GB) Disk: ██░░░░░░░░░░░░░░░░░░ 14% (2.8 GB / 20.0 GB)
Features
Shell & Exec
Interactive shell over a persistent session, or run one-off commands with exec. No SSH keys or firewall config needed.
JSON Output
Use --json flag for scriptable output. Perfect for automation.
Fast & Lightweight
Single binary ~6MB. No dependencies. Works offline after auth.
Cross Platform
Linux, macOS, Windows, and Android/Termux. Intel and ARM architectures supported.
File Transfer
Move files with scp-style syntax — multi-source, recursive (-r), with progress bars.
Secure Auth
OAuth device flow. Tokens stored with user-only permissions.
Command Reference
dalang auth Login to your Dalang accountdalang service list List all your servicesdalang service create Create a new VPSdalang service upgrade <name> Scale up CPU / RAM / storagedalang shell <name> Interactive shell to a VMdalang exec <name> "cmd" Run a command, return its outputdalang scp <src> <dst> Copy files to/from a VM (scp-style)dalang price --cpu 2 --ram 2G Estimate monthly pricedalang credit add 100 Top up 100K IDR creditsdalang domain add <vps> <domain> Add a custom domaindalang start/stop/delete <name> VM power managementdalang update Update the CLI to the latest versiondalang help for full list | Use --json for machine outputBuilt for AI Agents
Enable autonomous AI agents to provision infrastructure, self-replicate, and manage their own VMs. Perfect for AI systems like OpenClaw that need to spawn and control compute resources independently.
Downloads
| Platform | Architecture | Download |
|---|---|---|
| Linux | x86_64 (amd64) | dalang-linux-amd64 |
| Linux | ARM64 | dalang-linux-arm64 |
| Linux | ARM 32-bit (armv7) | dalang-linux-arm |
| macOS | Intel (amd64) | dalang-darwin-amd64 |
| macOS | Apple Silicon (arm64) | dalang-darwin-arm64 |
| Windows | x86_64 (amd64) | dalang-windows-amd64.exe |
| Android (Termux) | ARM64 (64-bit) | dalang-android-arm64 |
| Android (Termux) | ARM 32-bit (older phones) | dalang-linux-arm |
Quick Start
Install
chmod +x dalang-* && sudo mv dalang-* /usr/local/bin/dalang
Authenticate
Use
常见问题
什么是 Dalang CLI?
Dalang CLI 是用于从终端管理受支持 Dalang 服务的跨平台命令行工具。它可创建和检查 VPS 服务、执行生命周期操作、打开 shell、远程执行命令、传输文件、估算价格、管理额度和域名,并为自动化返回 JSON。
如何安装 Dalang CLI?
Linux、macOS 或 Termux 用户可运行 CLI 页面所示安装命令;Windows 用户可使用 PowerShell 命令或下载发布二进制文件。安装后运行 dalang auth,再使用 dalang service list 或 dalang service create。
Dalang CLI 免费吗?
CLI 提供 Linux、macOS、Windows 以及 Android 或 Termux 版本,并包含 Intel 与 ARM 构建。网站没有列出单独的 CLI 费用;通过 CLI 使用的云资源或额度仍按正常标准计费。
AI 智能体可以使用 Dalang CLI 吗?
可以。CLI 提供机器可读的 JSON 输出和非交互式 -y 参数,因此经授权的自动化进程可在无提示情况下创建和检查服务。自我复制或自我修复逻辑仍需由客户自己的脚本或智能体实现并做好安全控制。