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 →
Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures image

Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures

Read article
Laravel Read Replicas: Check if a Replica Has Caught Up image

Laravel Read Replicas: Check if a Replica Has Caught Up

Read article
UUID Request Input and Migration Failure Events in Laravel 13.42 image

UUID Request Input and Migration Failure Events in Laravel 13.42

Read article
Replay Missed Laravel Scheduled Tasks With Schedule Catchup image

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Read article
Search Polymorphic Relations and Filament Tables With Laravel Searchable image

Search Polymorphic Relations and Filament Tables With Laravel Searchable

Read article
Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs image

Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

Read article