Installing the Begin CLI
Alright, let’s install the Begin CLI. This should only take 1-2 minutes.
- 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
In your terminal run the following the command:
curl -sS https://dl.begin.com/install.sh | sh
Then follow the printed instructions to add the Begin CLI to your
iwr https://dl.begin.com/install.ps1 -useb | iex
Create a new app
Create a new Enhance project locally.
begin new ./myapp
b new ./myapp
Preview your app
Start the local dev server like so:
cd myapp begin dev
cd myapp b dev
Want to run your first Begin deploy? Alright, we’re almost there.
Create a Begin account by running the following command in your terminal, then following the instructions to authorize with GitHub.
Time to ship your brand new project to a fresh environment.
b app deploy
Congratulations, that’s just about it. Not so bad, right?
Let’s go check out a simple GitHub Actions Begin setup.