Skip to content

Instantly share code, notes, and snippets.

@hackintoshrao
Created September 27, 2021 18:53
Show Gist options
  • Save hackintoshrao/758d811ddec60278962001d76a2705c0 to your computer and use it in GitHub Desktop.
Save hackintoshrao/758d811ddec60278962001d76a2705c0 to your computer and use it in GitHub Desktop.
# prerequisite: check that Node.js is 12.20.0+, 14.13.1+, or 16+
node --version
# Make a new project directory, and navigate directly into it
mkdir my-astro-project && cd $_
# prepare for liftoff...
npm init astro
# install dependencies
npm install
# start developing!
npm run dev
# when you're ready: build your static site to `dist/`
npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment