CLI Overview & Installation

The zyberspace CLI (zyber) is a command-line tool for deploying and managing static sites. Upload a directory or ZIP, auto-create sites, and publish — all from your terminal.

Installation

Install globally from npm: npm install -g @zxapi/cli. Or use with npx: npx @zxapi/cli whoami --token zxk_live_.... The binary name is zyber.

Quick deploy

The most common workflow is: zyber deploy ./dist --site my-site --publish. This zips your directory, uploads it, creates the site if it doesn't exist, and publishes it live in one step.

Global options

Every command accepts: --token <token> — API token (overrides env and config). --api-url <url> — API base URL (default: https://app.zxapi.net). -V, --version — Show version. -h, --help — Show help.

Code examples

cURL
# Install globally
npm install -g @zxapi/cli

# Verify installation
zyber --version

# Quick deploy
zyber deploy ./dist --site my-site --publish
JavaScript
// The CLI is a Node.js tool — no JS API needed.
// Install and use from your terminal or CI:
// npm install -g @zxapi/cli
// zyber deploy ./dist --site my-site --publish

Base URL: https://www.zyberspace.com

Get your API key →