-
Install the Gatsby CLI
npm install -g gatsby-cli
-
Install and use the correct version of Node using NVM
nvm install
-
Install dependencies
npm install
-
Start the development server
gatsby develop
-
Generate a full static production build
gatsby build
-
Preview the site as it will appear once deployed
gatsby serve