Skip to main content

Gatsby Starters

The Gatsby CLI tool lets you install starters, which are boilerplate Gatsby sites maintained by the community and intended for jump-starting development quickly.

Installing starters

Execute the gatsby new command to clone a boilerplate starter, install its dependencies, and clear Git history.

Using Git repo URLs

When creating a new Gatsby site, you can optionally specify a starter to base your new site on; they can come from any publicly available Git repo, such as GitHub, Gitlab, or Bitbucket. You can supply the [URL_OF_STARTER_GIT_REPO] directly:

gatsby new [SITE_DIRECTORY] [URL_OF_STARTER_GIT_REPO]

For example, to create a site in a blog directory with Gatsby Starter Blog from its GitHub URL:

gatsby new blog https://github.com/gatsbyjs/gatsby-starter-blog

This downloads the files and initializes the site by running npm install.

Using GitHub usernames and repos instead of URLs

Alternatively, you can also supply a GitHub user name and repository:

gatsby new [SITE_DIRECTORY] [GITHUB_USER_NAME/REPO]

Here is an example with the [GITHUB_USER_NAME/REPO] format:

gatsby new blog gatsbyjs/gatsby-starter-blog

This also downloads the files and initializes the site by running npm install.

If you don’t specify a custom starter, your site will be created from the default starter.

Note: If you work for an Enterprise-level company where you are unable to pull from public GitHub repositories, you can still set up Gatsby. Check out the docs to learn more.

## Official starters

Official starters are maintained by Gatsby.

StarterDemoUse caseFeatures
gatsby-starter-defaultDemoAppropriate for most use casesGeneral Gatsby site
gatsby-starter-blogDemoCreate a basic blogBlog post pages and listings
gatsby-starter-hello-worldDemoLearn GatsbyGatsby bare essentials

Making starters

Learn how to make a starter in the Gatsby docs. Starters can be created for your team(s) only or distributed to the broader community. It’s up to you!

Community starters

Community starters are created and maintained by Gatsby community members.


Edit this page on GitHub
Docs
Tutorials
Plugins
Blog
Showcase