Gatsby

Up and Running with Gatsby: First Steps

Let's take our first steps with the Gatsby CLI.

In this tutorial, you'll learn the basics of Gatsby:

  • How to clone a starter (it's kind of like a template for Gatsby)
  • Basic Gatsby project structure
  • Adding pages and routes
  • Linking between pages

You can find the finished sample code for this tutorial in sample-code/hello-gatsby. The assignments and their solutions are in the assignments folder.

Let's start by installing the Gatsby Command Line Interface (CLI).

The command you'll use is:

npm install -g gatsby-cli

Check out the Gatsby CLI docs if you need help.