CLI
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):
deployzy authtoken sm_live_...Deploy
# From a GitHub repodeployzy deploy --repo you/api --name api# From a prebuilt image (no build)deployzy deploy --image nginx:alpine --name proxy# Upload + build the current directorydeployzy 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
deployzy projects ls # list your projectsdeployzy projects rm api # delete (by name, subdomain, or id)deployzy logs api --follow # stream deploy logsdeployzy env set api KEY=value # set an env var (redeploy to apply)deployzy env ls api # list env varsWas this page helpful?
