Documentation

TutorialHow-To GuidesReferenceConceptual Guides

v3 Docsv2 Docsv1 Docs
Sign Up for Free

Local Development

Developers have a wide variety of toolchains, from operating systems to code quality standards. This section walks you through modifying your setup to create your preferred development environment.

It includes instructions for Windows and Linux machines, environment variables, Javascript setup (webpack, Babel, browser support), and code quality standards (formatting, linting, typing).

 Main Guides 4

Create project from starter

Starter Gatsby sites for jump-starting development

Environment variables

Run Gatsby's develop or build processes with different options, or use secrets you don't want to check into your version control.

Debug development errors

Some common errors come from gatsby-image, GraphQL, and plugin installation

Javascript tooling

Docs for Gatsby's Javascript toolchain, like Typescript, webpack, Babel, ESLint, and Prettier

 Additional Guides 12

  • Gatsby on Windows
  • Gatsby on Linux
  • Run a Local Preview Server
  • Configure CA Certificates
  • Debugging HTML Builds
  • Debugging Incremental Builds
  • Debugging Missing or Stale Data Fields on Nodes
  • Webpack
  • Babel
  • ESLint
  • TypeScript
  • Specify Browser Support
© 2022 Gatsby, Inc.