---
title: "Introducing the SanityPress CLI: A Shorter Way to Start"
description: "Start your next SanityPress site with one short command. Choose minimal or demo content, skip the blog, or start fresh with the new CLI."
---

![boy in green robinhood attire opening a green-radiating chestbox with glowing text "npm create sanitypress", in the kingdom of Hyrule, low-poly PS1 game footage still](https://cdn.sanity.io/images/cyu7k2r0/production/0e6d94e6989ecd52b41ed173cdbebafa8d57c1d5-2418x1546.png)

Starting a new SanityPress site just got a little easier. There’s now a shorter command to remember, with starter content included so you can get to building sooner.

```sh
npm create sanitypress
```

Meet our new SanityPress CLI. It gets your Next.js + Sanity project started and lets you choose how much content comes with it.

## A shorter command for your next project

The original Sanity template command still works if you prefer it. The new SanityPress CLI gives you a shorter way to start the same template, with starter content and a few useful setup options included.

To create a project in a folder called my-site, run:

```sh
npm create sanitypress my-site
```

Prefer Bun or pnpm? You can use either:

```sh
bun create sanitypress my-site
# or
pnpm create sanitypress my-site
```

Follow the setup prompts to connect your Sanity project. The CLI also adds the starter documents and SanityPress agent skills.

## Start with the essentials

By default, your new site starts with the basics: site settings, a Home page, a Blog page, and a template for displaying blog posts. You don’t need an extra flag to get them.

This is the `--seed=minimal` option. It’s a useful starting point when you already know what you want to build and would rather add your own content. The Home page starts without sections, ready for you to choose from the [SanityPress modules directory](/modules).

## Choose the starting point that fits

The `--seed` flag controls the starter content. With npm, put options after `--`, as shown below.

### Exploring SanityPress? Try the demo content

```sh
npm create sanitypress my-site -- --seed=demo
```

Use this when you want examples to click through before building your own site. The demo includes sample content such as navigation, a 404 page, and a blog post, giving you something to edit as you get familiar with the Studio.

### Building a site without a blog? Leave it out

```sh
npm create sanitypress my-site -- --no-blog
```

For a portfolio, campaign landing page, or small business site that doesn’t need articles, this keeps the starting content focused on your site settings and Home page.

`--no-blog` applies to the minimal starter only. It leaves out the Blog page and blog post template; it doesn’t remove blogging from SanityPress, so you can add those later.

### Want to create all the content yourself? Start empty

```sh
npm create sanitypress my-site -- --seed=none
```

Choose this when you want the project without any starter documents. You’ll need to create your site settings and Home page yourself before adding your page sections.

## From setup to your first page

Once your project is created, follow the [getting started guide](/docs/get-started) to run it locally and open the Studio. Add your content, pick your modules, and make it your own.

If you work with an AI coding assistant, the included [SanityPress agent skills](/docs/skills) give it guidance for working with your project.

You can find the CLI and its available options on [npm: create-sanitypress](https://www.npmjs.com/package/create-sanitypress). For your next SanityPress site, start here:

```sh
npm create sanitypress
```

![boy in green robinhood attire holding an iphone Duo (folding phone) with chiseled text "npm create sanitypress" in the kingdom of Hyrule, hi-def 4k game footage still](https://cdn.sanity.io/images/cyu7k2r0/production/3a7cc9423fa9af20a27aed54d43754f900e59baf-2688x1792.png)
