Create a new Gatsby site using npx and the hello world starter

InstructorJason Lengstorf

Share this video with your friends

Send Tweet

To quickly create a new Gatsby site without installing global packages or adding a bunch of extra boilerplate, we’ll use npx to create a new Gatsby site. By using gatsby-starter-hello-world we’re able to generate only the bare minimum files required to build a Gatsby site, which lets us write our own code without deleting example code.