serverpod_cloud_cli 0.12.0 copy "serverpod_cloud_cli: ^0.12.0" to clipboard
serverpod_cloud_cli: ^0.12.0 copied to clipboard

A CLI tool from Serverpod used to deploy and manage Serverpod Cloud projects.

Serverpod banner

Serverpod Cloud CLI #

The Serverpod Cloud CLI provides all you need to create, manage, and deploy your Serverpod projects in Serverpod Cloud.

If you're new to developing with Serverpod, check out the create a Serverpod project guide in the Serverpod framework docs!

Getting Started #

Run the following to install the CLI:

dart pub global activate serverpod_cloud_cli

Log in to your Serverpod Cloud account using the CLI:
(If you don't have a Serverpod Cloud account yet, visit Serverpod Cloud.)

scloud auth login

Go to your Serverpod server directory (e.g. ./myproject/myproject_server) and run the launch command to get an interactive, guided set up of a new Serverpod Cloud project:

scloud launch

If the project requires any environment variables or secrets, they can be added with the env and secret commands. Once the project is ready to be deployed, run the following command:

scloud deploy

To follow the progress of the deployment, use the status deploy command:

scloud status deploy

That's it, you have now deployed your Serverpod app! 🚀

For more information on the different commands, see the commands section in the side menu. For instance, to view the service's domains or to add your own custom domains, see the domain command.

Online documentation #

The Serverpod Cloud CLI documentation:

https://docs.serverpod.cloud/references/cli/introduction

Guide to getting started with Serverpod Cloud:

https://docs.serverpod.cloud/getting-started