Quickstart: CLI

Install, and get started with our CLI. With it, you can make changes to your site's code, directly from your machine.

Written By Luke Wakefield

Last updated 1 day ago

Quickstart: CLI

You can read more about CLI first:

About

Step 1: Install the Siteglide CLI

The Siteglide CLI can be installed from NPM using:

Example
npm i -g @siteglide/siteglide-cli

If you hit any issues please check our Troubleshooting guide:

WebApp Troubleshooting

Step 2: Connect to a Site

Setup a local folder and use the site specific command to connect directly to your site (you can find this on the site details page in Portal - more info):

Example
siteglide-cli add --email me@mydomain.com --url https://my_great_site.com

Need some help? Read our full Site Setup Guide:

Site Setup

Step 3: Start Building!

You should now be ready to start work, you'll likely want to pull down the files from the server:

Example
siteglide-cli pull <env>

Check out our Reference article for a full list of useful Commands:

Reference

If you're using Flowbite/Tailwind please ensure you have Tailwind setup to compile CSS: Set Up Tailwind CSS with the recommended CLI method