Gatsby CLI Quick Reference

1 · · July 31, 2019, 7:18 a.m.
When working with Gatsby.js, we constantly make use of its built-in command line interface (CLI.) This essential tool allows us to do things like creating new projects from starters, launching a dev server with hot-reloading, and generating production builds. Here’s a quick reference guide to help you use it like a pro! Installation If you haven’t already performed a global installation of gatsby-cli, you will need to do that first: $ npm install -g gatsby-cli With gatsby-cli installed globally...