cloud71
Docs

Command-line interface

@cloud71/cli turns a folder, ZIP, or single file into a live *.cloud71.site URL from your terminal — perfect for build scripts and CI. It's a thin wrapper over the REST API.

Quickstart

npm install -g @cloud71/cli
cloud71 login          # paste a token from /dashboard/tokens
cloud71 deploy ./dist  # zips & deploys the folder
cloud71 deploy resume.pdf --site my-cv

Get a token

Create a personal access token at /dashboard/tokens, then run cloud71 login and paste it. The token is stored locally in ~/.cloud71/config.json.

Commands

cloud71 login

Save an API token (created at /dashboard/tokens) to ~/.cloud71/config.json.

cloud71 deploy [path]

Deploy a folder (zipped automatically) or a single .html / .pdf / .zip. Defaults to the current directory.

cloud71 list

List your sites and their live URLs. (alias: sites)

cloud71 whoami

Show the signed-in account and plan.

Options

  • --site <subdomain> — Deploy to a specific site, updating it in place.
  • --token <token> — Use a token without logging in (handy for one-offs).
  • --api <url> — Override the API base URL.

Use in CI

Skip interactive login by passing the token through the C71_TOKEN environment variable (and optionally C71_API):

# CI / scripts — pass the token via env, no interactive login
export C71_TOKEN=c71_…
npx @cloud71/cli deploy ./dist --site my-app

Going deeper

For request/response shapes and direct HTTP usage, see the API reference. To deploy from an AI assistant instead, use the MCP connector.