monolayer Docs
monolayer Docs
Introduction

Getting Started

Install monolayer in your AWS accountAdd a git connectorDeploy your app in monolayer

Platform

OverviewInstallationAuthentication and Configuration
projects:listdeployments:deploy

Other

Feedbackmonolayer SDK Docsmonolayer.devFAQs
CLI

Overview

Use the Monolayer command-line interface (CLI) to list projects and start deployments from your terminal.

About the Monolayer CLI

This section summarizes the commands that the @monolayer/cli package provides.

The CLI currently supports the following commands:

JavaScript Object Notation (JSON) is the default output format for projects:list.

CommandDescriptionOutput
projects:listLists your projects using cursor-based pagination.JSON
deployments:deployTriggers a branch deployment and monitors its progress.Logs and status

Using the Monolayer CLI

This section gives you a quick workflow for validating access to your control plane.

Concept and Goal

Use this procedure to confirm that your CLI installation can authenticate and run both available commands.

Prerequisites

  • You installed the CLI package.
  • You have a control plane base URL.
  • You have a project auth token and a deployment token.

Numbered Steps

  1. Set your environment variables in the current terminal session.
export MONOLAYER_BASE_URL="https://control-plane-domain"
export MONOLAYER_AUTH_TOKEN="token_xxx"
export MONOLAYER_DEPLOYMENT_TOKEN="deploy_token_xxx"
  1. Run the project listing command.
npx mnlyr projects:list --limit 5
  1. Run the deployment command.
npx mnlyr deployments:deploy --project-id proj-1 --branch-name main

Expected Result

You see JSON output from projects:list and live deployment status output from deployments:deploy.

CLI Reference

This section points you to task-focused and command-focused pages.

  • Installation: Install the package and validate your environment.
  • Authentication and Configuration: Configure base URL and token resolution.
  • Commands: View detailed reference pages for each command.

Deploy your app in monolayer

Create, run, and deploy your first full-stack monolayer app — from local setup to live deployment in your own AWS.

Installation

Next Page

On this page

About the Monolayer CLIUsing the Monolayer CLIConcept and GoalPrerequisitesNumbered StepsExpected ResultCLI Reference