Welcome to Begin

Let’s get started by installing the Begin CLI.

Prerequisites

  • Any computer running macOS, Windows, or Linux, with Node.js 14, or later
  • If deploying to Begin: a (free) GitHub account to authenticate the Begin CLI

Install

In your terminal run the following the command:

curl -sS https://dl.begin.com/install.sh | sh
iwr https://dl.begin.com/install.ps1 -useb | iex

Login

To create a Begin account, run the following command in your terminal, then follow the instructions to authorize with GitHub.

begin login
b login

Create an app

Create a new Enhance project.

begin new ./myapp
b new ./myapp

Preview locally

Start a local dev server.

cd myapp
begin dev
cd myapp
b dev

Deploy

Deploy the code to a fresh environment.

begin deploy
b app deploy