Getting started
Clone cosmo, install dependencies, and run the dev server.
Cosmo is a minimal Astro starter. This guide walks through cloning the repo and running it locally.
Prerequisites
- Node 22 LTS or higher (see
.nvmrc) - pnpm — cosmo uses
pnpm-lock.yaml; do not substitute npm or yarn
Scaffold and install
pnpm create astro@latest -- --template Dyslecix-Dev/cosmo/template my-site
cd my-site
pnpm install
Commands
pnpm dev— local dev server with HMRpnpm build—astro check+astro buildpnpm typecheck— type-check only (also runs on pre-push)pnpm check— Biome lint + formatpnpm check:fix— Biome with autofix
Next steps
- Set
siteinastro.config.mjsto your production URL - Update
siteNameandtitleDefaultinsrc/components/SEO.astro - Replace placeholder hero images in
src/assets/ - See rebranding via tokens to retheme the site
- See SEO checklist for a complete pre-launch setup