Skip to main content
Two terminal clients ship with Mangrove. Both talk to the HTTP API, so they work from any machine that can reach it.
Both share the session in ~/.mangrove/session. Sign in once with either.

mangrovectl

A scriptable command-line client. Run it with no arguments for usage.

Projects and deployments

The CLI can’t create static-site deployments; use the dashboard.

Deploying

deploy without --git-url deploys what the deployment is configured with: its image, for an image deployment. For repository builds, pass the URL. See From GitLab, Gitea and others.

Backups

See Backups and restore.

Scripting tips

  • Output is JSON for list and create commands. Pipe it to jq.
  • Errors go to stderr with a non-zero exit code.
  • For anything the CLI doesn’t cover (variables, domains, scaling), call the HTTP API with the same session cookie.

mangrove-tui

A full-screen terminal dashboard.
If you’re not signed in, it shows its own sign-in (or first-run setup) screen. Navigate projects → deployments → a deployment. On a deployment: Each view lists its keys at the bottom. The shell (t) is a real interactive terminal in the container: bash if available, otherwise sh, with resizing and full key handling. Exit the shell, then press any key to return to the TUI. More detail: clients.md.