News

Manage Laravel Cloud from the Terminal with the New Cloud CLI

Published
Manage Laravel Cloud from the Terminal with the New Cloud CLI image

Laravel has released a CLI for Laravel Cloud, giving you a streamlined way to deploy and manage applications directly from the terminal.

Built with Laravel Zero, the Laravel Cloud CLI provides a familiar command-line experience for handling common Cloud tasks without needing to switch to the browser.

Key Features

The CLI covers a wide range of Laravel Cloud functionality, including:

  • Application and environment management
  • Guided deployments with cloud ship
  • Standard deployments via cloud deploy
  • Repository configuration with cloud repo:config
  • Database and cache management
  • Domain and infrastructure controls
  • Remote command execution
  • JSON output support for scripting and automation

After authenticating with cloud auth, you can link your local repository to a Cloud application and avoid repeatedly passing app and environment options.

Built for Automation and Daily Workflows

Many commands support a --json flag, making the CLI useful for scripting, CI workflows, and automation. Whether you are deploying updates, running commands, or inspecting environments, the tool is designed to fit naturally into existing developer workflows.

Authentication is handled via browser-based OAuth, with token support available for non-interactive environments.

Example Commands

cloud auth
cloud repo:config
cloud ship
cloud deploy
cloud application:list --json
cloud command:run env_123 "php artisan migrate" --json
cloud database:open

From zero to deployed in 5 minutes

Read More

You can explore the project and installation instructions on GitHub or the official docs.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article