> For the complete documentation index, see [llms.txt](https://documentation.siteglide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.siteglide.com/developer-tools/cli/quickstart.md).

# Quickstart: CLI

Get started with our CLI

{% hint style="info" %}
If unsure please read more about CLI first:
{% endhint %}

{% content-ref url="/pages/9oLcCEbSItz2IGfLyhFj" %}
[About](https://documentation.siteglide.com/developer-tools/cli/about.md)
{% endcontent-ref %}

## Step 1: Install the Siteglide CLI

The Siteglide CLI can be installed from NPM using:

```
npm i -g @siteglide/siteglide-cli
```

{% hint style="info" %}
If you hit any issues please check our Troubleshooting guide:
{% endhint %}

{% content-ref url="/pages/BgiAO5V3FAmRl7I21YfI" %}
[Troubleshooting](https://documentation.siteglide.com/developer-tools/cli/troubleshooting.md)
{% endcontent-ref %}

## 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](https://docs.siteglide.com/en/developer-tools/cli/site-setup#step-5-copy-the-env-command-with-pre-filled-variables)):

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

{% hint style="info" %}
Need some help? Read our full Site Setup Guide:
{% endhint %}

{% content-ref url="/pages/yuqdX5CcEOqFeRMfuob5" %}
[Site Setup](https://documentation.siteglide.com/developer-tools/cli/site-setup.md)
{% endcontent-ref %}

## Step 3: Start Building!

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

```
siteglide-cli pull <env>
```

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

{% content-ref url="/pages/ssFQTAVwK3FHNXq9ZdnI" %}
[Reference](https://documentation.siteglide.com/developer-tools/cli/reference.md)
{% endcontent-ref %}

{% hint style="info" %}
If you're using Flowbite/Tailwind please ensure you have Tailwind setup to compile CSS: [Set Up Tailwind CSS with the recommended CLI method](https://documentation.siteglide.com/studio-and-sitebuilder/setup-sitebuilder/site-setup/set-up-tailwind-css.md)
{% endhint %}
