Skip to main content

Installation

This page shows how to install scloud, Serverpod Cloud's command line interface, and how to authenticate it with your account. After completing these steps, you're ready to deploy your first Serverpod server.

Prerequisites​

Before installing the CLI, make sure you have the following:

Install the Serverpod Cloud CLI​

Install the serverpod_cloud_cli package globally using Dart to make the scloud command available:

dart pub global activate serverpod_cloud_cli

After installation, verify that the CLI is available:

scloud version

If the command prints the installed version, the CLI is ready to use.

Authenticate the CLI​

Log in to your Serverpod Cloud account from the terminal:

scloud auth login

This command opens a browser window where you can authenticate your account. Once authentication completes, the CLI is authorized to manage your Serverpod Cloud projects.