Installation

Prerequisites

To use the Rollout CLI, ensure you have the following:

  • Node.js version 14 or above
  • NPM (Node Package Manager) or Yarn

Install the CLI

To install the Rollout CLI globally, run the following command in your terminal:

npm install -g @rollout-run/cli

Verifying Installation

After installation, you can verify the CLI is correctly installed by running:

rollout --help

This should display a list of available commands.

Example output:

Usage: rollout <command> [options]

Commands:
  register     Register a new account
  login        Log in to your account
  logout       Logout from your account
  deploy       Deploy a static site to Rollout
  list         List your projects
  status       Show current project status and last deployment
  history      Show deployment history for current project

Options:
  --version    Show version number
  --help       Show help information

Initial Setup

  1. Authenticate Your Account: Start by logging in or registering for an account. See Authentication for details.

  2. Deploy Your First Site: Use the deploy command to deploy your static site. See Deployments for details.