deployzy deploy
Deploy projects from the command line.
Deploy a project from a git repo, a prebuilt image, or the current directory — then stream the build logs until it's live.
First, authenticate with an API key (create one at deployzy.com/api-keys):
bash
deployzy authtoken sm_live_...Deploy
bash
# From a GitHub repo# From a prebuilt image (no build) deployzy deploy --image nginx:alpine --name proxy
# Upload + build the current directory deployzy deploy ./ ```
The command creates the project, deploys it, and streams logs until it reports
running, printing the public URL.
Flags
| Flag | Description |
|---|---|
--repo | GitHub repo (OWNER/NAME or https URL) |
--image | Prebuilt image to run (e.g. nginx:alpine) |
[dir] | Local directory to upload as the build context |
--name | Project name (defaults to the repo/image/dir name) |
--subdomain | Public subdomain (defaults to a slug of the name) |
--branch | Git branch for --repo (default main) |
-e, --env | Environment variable KEY=VALUE (repeatable) |
--no-follow | Don't stream logs; return immediately |
Manage projects
bash
deployzy projects ls # list your projects
deployzy projects rm api # delete (by name, subdomain, or id)
deployzy logs api --follow # stream deploy logs
deployzy env set api KEY=value # set an env var (redeploy to apply)
deployzy env ls api # list env varsSelf-hosted? Point the CLI at your API with
SERVERME_API_URL=https://api.yourdomain.com.