Learn more about Node.js, one of the software packages that makes Gatsby possible.
Installing Node.js also installs npm, the Node.js package manager. A package manager is specialized software that lets you install and update modules and packages used in your project.
You’ll use npm to install Gatsby and its dependencies. Type
npm install -g gatsby-cli at a command line prompt to install the Gatsby command line interface or CLI. The
-g flag installs Gatsby globally, which means that you can use it by typing
gatsby at a prompt. For example, you can use
gatsby new to create a new Gatsby site.