---
title: "Quickstart: Galley on your site · Documentation · Galley"
description: "Open your site in Galley with one command, change a page, check it in Proof and publish it. About ten minutes."
canonical: "https://galleycms.com/docs/getting-started/quickstart/"
language: "en"
---

Documentation › Set up (developers)

# Quickstart: Galley on your site

Open your site in Galley with one command, change a page, check it in Proof and publish it. About ten minutes.

Start here if you look after a site whose pages are files in a git repository. Astro sites fit best; [these frameworks](https://galleycms.com/docs/adapters/) are recognised too. In ten minutes you'll change a page, check the change, and publish it to the site's own repository.

No site yet? [Create a new site](https://galleycms.com/docs/getting-started/new-site/) instead.

## Link to this section: What you need

- A site in a git repository.
- [Node.js](https://nodejs.org/) 20.11 or newer — and whatever your site needs (Astro 7 needs 22.23.4) — and git.
- Optional: an Anthropic API key, for the assistant.

Galley adds nothing to your site: no dependency, no integration, no build step.

## Link to this section: Open your site

In your site's folder, run:

```
npx galley-cms
```

You’ll see

```
Galley is running at http://127.0.0.1:4400
…
Open: http://127.0.0.1:4400/sites/…?token=…
```

Your browser opens on the site. Galley runs on your computer only, until you press **Ctrl+C**.

## Link to this section: Change a page

1. Open **Pages** in the sidebar and choose a page.
2. Change it any of three ways: type in the form on the left, choose **Click to edit** and retype words on the page, or ask the assistant on the right.
3. The change is saved as you type. Nothing is live yet.

## Link to this section: Check it

Press **Proof** in the top bar. Each change is listed in the site's own words — the old words struck through, the new ones written in. **Put back** undoes one.

## Link to this section: Publish it

Press **Publish**, then **Publish 1 change**. Galley commits the changed file as you, and pushes when the repository has a remote. To see the commit:

```
git log -1 --stat
```

You’ll see

```
…
    Update Caddow — coats and knitwear, made in runs of forty
…
 src/content/pages/index.md | 2 +-
```

Undoing a publish later is a new commit, never a rewrite.

## Link to this section: If something's different

- **npx asks to install `galley-cms`.** That happens the first time; answer **y**.
- **Galley says the folder doesn't look like a site.** Run it in the folder with `package.json` in it.
- **Port 4400 is taken.** Galley uses the next free one and says so.
- **The preview stays blank.** Your site's own dev command (`npm run dev`) must work first; `npx galley-cms doctor` shows what Galley finds.
- **Other pages write the command as `galley`.** Type `npx galley-cms` in its place.

## Link to this section: Next

1. [How Galley reads an Astro site](https://galleycms.com/docs/astro/content-collections/) — and what it can't read.
2. [Connect the assistant](https://galleycms.com/docs/getting-started/assistant/).
3. [Hand the site to an editor](https://galleycms.com/docs/getting-started/handover/).

Changing Galley itself? Running it from a clone is in [CONTRIBUTING.md](https://github.com/fictiontribe/galley/blob/main/CONTRIBUTING.md).
