Use npm init gatsby
with the y
flag to create an initial Gatsby site. The site includes a package.json
with Gatsby, React, and react-dom
installed, an empty gatsby-config.js
file, and two files in src/pages
- index.js
and 404.js
.
The repo also comes with a minimal gitignore file and README.