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/cliVerifying Installation
After installation, you can verify the CLI is correctly installed by running:
rollout --helpThis 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 informationInitial Setup
-
Authenticate Your Account: Start by logging in or registering for an account. See Authentication for details.
-
Deploy Your First Site: Use the
deploycommand to deploy your static site. See Deployments for details.