Skip to content

Tooling

Of course, one would need to be able to edit this Guide to update it.

I use Starlight, which in turn is based on Astro.

As a package manager, I currently use pnpm. Below are the commands for package managers I am using / have used in the past.

Commands

All commands are run from the root of the project, from a terminal

CommandAction
pnpm installInstalls dependencies + creates backup yarn.lock
pnpm devStarts local dev server at localhost:4321
pnpm buildBuild your production site to ./dist/
pnpm previewPreview your build locally, before deploying
pnpm astro ...Run CLI commands like astro add, astro check, astro sync
pnpm dlx @astrojs/upgradeUpdate Starlight and therefore Astro, etc.