What is Laravel Cloud CLI
laravel/cloud-cli is the official CLI for working with Laravel Cloud from your terminal.It is built with Laravel Zero and exposes dashboard workflows through the
cloud command.
You can manage applications, environments, databases, caches, buckets, domains, and WebSocket resources without leaving the terminal.
Requirements
Make sure your environment includes:PHP 8.2+ComposerGitHub CLI (gh)(installed and authenticated)Git
Installation
Set up the CLI locally first.Authentication
Authenticate before running most commands:cloud auth opens your browser for OAuth login.For token management in CI or automation, use
cloud auth:token.
Repository defaults
If you want to avoid selectingapplication and environment every time, run cloud repo:config in your project root.
cloud deploy faster to run.
Deploy workflow
Use guided shipping once, then switch to regular deploys.Main command categories
The README command reference is broad. This table highlights the most common categories.| Category | Example commands | Purpose |
|---|---|---|
| Auth / config | cloud auth, cloud auth:token, cloud repo:config | Authentication and defaults |
| Application | cloud application:list, cloud application:create | Application lifecycle |
| Environment | cloud environment:list, cloud environment:get, cloud environment:logs | Environment info and logs |
| Deploy | cloud ship, cloud deploy, cloud deploy:monitor | Deploy and monitor |
| Database | cloud database-cluster:*, cloud database:*, cloud database-snapshot:* | Database and snapshot operations |
| Cache | cloud cache:list, cloud cache:create, cloud cache:types | Cache management |
| Bucket | cloud bucket:*, cloud bucket-key:* | Object storage and keys |
| Domain | cloud domain:list, cloud domain:create, cloud domain:verify | Domain setup and verification |
| WebSocket | cloud websocket-cluster:*, cloud websocket-application:* | WebSocket resources |
Environment variable management
Usecloud environment:variables to manage environment variables.This command supports append, set, and replace workflows.
Usage and billing checks
Usecloud usage to review resource usage and billing summaries.
cloud usage --environment=<id>.