Developers

Zyberspace CLI

Manage your static sites directly from the terminal. Ideal for local scripts, CI/CD pipelines, and frequent deploy workflows.

Install the CLI

Install via npm and start deploying from your terminal in seconds.

npm install -g @zxapi/cli

Authenticate

Generate a token from team settings and make it available as an environment variable.

export ZYBERSPACE_TOKEN=zyb_...

Deploy and publish

Run one command to bundle and upload your static site, with optional publish flag.

zyber deploy ./dist --site my-project --publish

Common commands

  • zyber whoami — verify active token and team.
  • zyber deploy — upload a directory or archive.
  • zyber sites list — list available sites for your team.
  • zyber domain add — connect custom domains.

Need help?

If you want to automate deployments from GitHub Actions or GitLab CI, use ZYBERSPACE_TOKEN as a secret and call the CLI in your build step.

FAQ

Do I need Docker to use the CLI?

No. The CLI is a Node.js binary and works anywhere with Node support.

Can CI/CD use zyberspace CLI?

Yes. Store your token in CI and use the CLI in your pipeline steps.

What token scopes do I need?

Use your team API token from Settings with the scopes needed for site and deployment operations.