1npm install -g gatsby-cli
2
3
4//Create new project
5gatsby new [gatsby-project-name] https://github.com/gatsbyjs/gatsby-starter-hello-world
6cd [gatsby-project-name]
7
8//initialize developer server
9gatsby develop
10
11//create production build the project
12gatsby build
13gatsby serve