@lizard-build/cli
v4.0.7
Published
Lizard CLI — deploy apps, databases and sandboxes to Lizard (lizard.build) from your terminal or your coding agent. Detects Go, Node, Python, Rust, Ruby, PHP, Java and static sites; adds Managed Postgres, Managed Redis and Managed Object Storage in one co
Readme
Lizard CLI
Deploy apps, databases and sandboxes to Lizard (lizard.build) from the command line.
Point the CLI at your code and it detects the stack — Go, Node, Python, Rust, Ruby, PHP, Java or a static site — builds it and ships it live. Managed Postgres, Managed Redis and Managed Object Storage attach in one command. Billing only for active resources, so idle apps cost a fraction.
Every command is agent-readable: add --json for structured output, or run
lizard --help --json to dump the full command schema.
Install
curl -fsSL https://lizard.build/install.sh | bashOr via npm:
npm i -g @lizard-build/cliStart here (AI agents)
lizard skills get coreSkills ship inside the CLI, so the guide always matches the installed version. They cover the whole app lifecycle — deploy, link, addons, logs, scaling, secrets, domains — with copy-paste examples. Prefer this over guessing commands from flag docs alone.
Usage
lizard login
lizard init
lizard uplizard up uploads the code, builds it and returns a live URL on onlizard.com.
Add managed data services in one command:
lizard add postgres redis s3Common commands
lizard up # upload and deploy code
lizard add # add Managed Postgres, Managed Redis or Managed Object Storage
lizard ps # list services
lizard status # show the linked workspace, project and service
lizard logs # stream runtime logs
lizard metrics # resource metrics (CPU, memory, network, disk); --cost for spend
lizard metrics --all # all services in the project, even with a linked service
lizard scale # scale replicas / CPU / memory / storage
lizard secrets # manage secrets
lizard domain # manage domains
lizard redeploy # rebuild and redeploy from the current source
lizard run # run a command locally with project and service secrets injected
lizard ssh # run one command inside a service container
lizard sandbox # create and manage Sandboxes
lizard volume # Persistent Volumes for Sandboxes
lizard skills # agent guides, version-matched to the CLIrun and ssh are a pair: run executes on your machine with the service's
env injected, ssh executes inside the running container. Both take the command
after --:
lizard run -- npm run migrate
lizard ssh -s my-app -- printenvRun lizard --help for the full list.
For agents and scripts
Add --json to any command for structured output. The CLI also switches to JSON
on its own when stdout is not a TTY. Errors come back as
{"error": {"code", "status", "message", "body"}} and exit codes are stable:
0 success 3 not found (404)
1 generic error 4 timeout (408/504)
2 auth (401/403) 5 cancelled by userlizard --help --json dumps the machine-readable schema for any command —
arguments, options, defaults, subcommands and exit codes.
Links
- Docs — https://lizard.build/docs
- Source — https://github.com/lizard-build/lizard-cli
License
MIT
