Gatsby โ Run and Build
Requirements:
- Node.js 18+
 
Create a new site:
npm init gatsby@latest my-gatsby-sitecd my-gatsby-sitenpm installRun locally:
npm run developVisit http://localhost:8000
Build for production (output to public/):
npm run buildServe the production build locally:
npm run serveDeploy public/ to your static host.