laravel/cloud-cli
Larablocks Analysis
Compatibility
Official Laravel packagelaravel/cloud-cli works with any PHP project: the latest release (v0.7.10, Nov 25, 2026) doesn't depend on Laravel.
Laravel 12 in earlier releases.
- Official Laravel package: published by the Laravel team.
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 3 checks; below the bar for Recommended on use.
- Released in the last 12 months (Nov 25, 2026)
- 68,154 downloads a month (at least 10,000)
- 52 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 25, 2026.
- 53 releases in the last 12 months.
- First released: Mar 2, 2026.
- Monthly downloads: 68,154.
- 9 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require laravel/cloud-cli |
|
| Latest Version: | v0.7.10 |
| PHP: | ^8.3 |
| Older releases: | 12 |
| License: | MIT |
| Last Updated: | Nov 26, 2026 |
| Links: | GitHub · Packagist |
Laravel Cloud CLI
Introduction
The Laravel Cloud CLI lets you deploy and manage your Laravel Cloud applications from the terminal. Applications, environments, databases, caches, object storage, domains, WebSockets, queues and more are all a command away.
The CLI works with every stack Laravel Cloud runs, including Laravel, Symfony, Node.js, Bun, Deno, Python, Go, Ruby and Rust.
Installation
The Laravel Cloud CLI requires Node.js 22 or greater and Git. You may install it using Homebrew:
brew tap laravel/cloud-cli https://github.com/laravel/cloud-cli
brew install laravel/cloud-cli/cloud
Or, using npm:
npm install -g @laravel/cloud-cli
If you would like to create a GitHub or GitLab repository for a project that does not have a Git remote yet, you should also install the GitHub CLI or GitLab CLI.
Getting Started
To get started, authenticate with Laravel Cloud using the auth command. This opens your browser and stores an API token for each of your organizations in ~/.config/cloud/config.json:
cloud auth
Next, from the root of your project, run the ship command to create a new application and deploy it:
cloud ship
Once your application exists, the deploy command will deploy your latest changes:
cloud deploy
Every command will ask for anything you don't pass it. To see every available command, run cloud --help. You may view the options for a specific command using cloud <command> --help.
Repository Defaults
If you would like to link your repository to an application so that future commands stop asking which one you mean, you may use the repo:config command:
cloud repo:config
Shell Completions
The completions command installs completions for zsh, bash and fish, writing the script wherever your shell already looks for it:
cloud completions
CI and Coding Agents
In CI, under a coding agent, when stdin isn't a terminal, or when the -n / --no-interaction flag is given, every command prints JSON and never prompts. The --json flag does the same anywhere.
When running in CI, you should provide an API token using the LARAVEL_CLOUD_TOKEN environment variable. This token takes precedence over any stored tokens and is never written to disk:
export LARAVEL_CLOUD_TOKEN=your-api-token
cloud deploy my-app production -n
Of course, you may also store a token for later use. Pipe the token to the command so it stays out of your process list:
echo "$LARAVEL_CLOUD_TOKEN" | cloud auth:token --add -n
Reading Output
The --fields option filters the output using dot-separated paths. Unknown fields are ignored:
cloud application:get my-app --json --fields=id,name,environments.name
Sensitive values such as tokens, credentials and environment variables are masked unless you pass --show-sensitive. Errors and warnings are written to stderr as a single line of JSON, so stdout always parses.
A few more things are worth knowing when scripting the CLI:
- Destructive commands require the
--forceflag when nothing can ask for confirmation. - Lists stop at
--limit(1000 by default,0for all) and warn on stderr when they stop short. - The
deployandcommand:runcommands print a line of JSON each time the status changes, then a final line describing the result. Both exit with a non-zero code when what they ran fails.
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Failure |
2 |
Invalid usage |
4 |
Authentication required |
5 |
The API rejected the input; stderr names the fields |
127 |
Unknown command |
130 |
Interrupted |
Agent Skills
The skills:install command installs the CLI's skills for Claude Code, Cursor, Junie, GitHub Copilot and other coding agents:
cloud skills:install
Feedback
If something got in your way, such as a wrong result, a confusing error or a missing feature, you may let the Laravel Cloud team know using the feedback command:
cloud feedback "The deploy output should include the commit message"
Contributing
Thank you for considering contributing to the Laravel Cloud CLI! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The Laravel Cloud CLI is open-sourced software licensed under the MIT license.
Related Packages
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v0.7.10 | ^8.3 | MIT | |
| v0.7.9 | ^8.3 | MIT | |
| v0.7.8 | ^8.3 | MIT | |
| v0.7.7 | ^8.3 | MIT | |
| v0.7.6 | ^8.3 | MIT | |
| v0.7.5 | ^8.3 | MIT | |
| v0.7.4 | ^8.3 | MIT | |
| v0.7.3 | ^8.3 | MIT | |
| v0.7.2 | ^8.3 | MIT | |
| v0.7.1 | ^8.3 | MIT | |
| v0.7.0 | ^8.3 | MIT | |
| v0.6.7 | ^8.3 | MIT | |
| v0.6.6 | ^8.3 | MIT | |
| v0.6.5 | ^8.3 | MIT | |
| v0.6.4 | ^8.3 | MIT | |
| v0.6.3 | ^8.3 | MIT | |
| v0.6.2 | ^8.3 | MIT | |
| v0.6.1 | ^8.3 | MIT | |
| v0.6.0 | ^8.3 | MIT | |
| v0.5.3 | ^8.3 | MIT | |
| v0.5.2 | ^8.3 | MIT | |
| v0.5.1 | ^8.3 | MIT | |
| v0.5.0 | ^8.2 | MIT | |
| v0.4.2 | ^8.2 | MIT | |
| v0.4.1 | ^8.2 | MIT | |
| v0.4.0 | ^8.2 | MIT | |
| v0.3.0 | ^8.2 | MIT | |
| v0.2.6 | ^8.2 | MIT | |
| v0.2.5 | ^8.2 | MIT | |
| v0.2.4 | ^8.2 | MIT |
Showing the latest 30 of 53. See every release on Packagist