This quick start is intended for intermediate to advanced developers. For a gentler intro to Gatsby, head to our tutorial!
Getting started with Gatsby
- Create a new site
npm init gatsby
Follow the prompts to choose your preferred CMS, styling tools and additional features.
- Once everything is downloaded you will see a message with instructions for navigating to your site and running it locally.
It will look like this, but use your project's directory.
Start by going to the directory with
Start the local development server with
npm run develop
Gatsby will start a hot-reloading development environment accessible by default at
- Now you're ready to make changes to your site!
Try editing the home page in
src/pages/index.js. Saved changes will live reload in the browser.
Add more features
Install and configure additional plugins to quickly add additional functionality to your site.
Deploy your site
Try using Gatsby Cloud to build and deploy your site to one of many hosting providers.