npm init gatsby code example Example: install gatsbyjs using npx npx gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-default