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

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Laravel Auditor Audits Your App With Your Own AI Agent image

Laravel Auditor Audits Your App With Your Own AI Agent

Read article
A simple form builder that stays out of your way image

A simple form builder that stays out of your way

Read article
Laravel AI: Trace Agent Runs With Lifecycle Events image

Laravel AI: Trace Agent Runs With Lifecycle Events

Read article
Laravel AI: Get Raw HTTP Responses and Rate Limits image

Laravel AI: Get Raw HTTP Responses and Rate Limits

Read article
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article