Saturday, August 29, 2026Vol. I · No. 003

The Field Notes

dispatches from a next.js build, deployed by hand

← Back to the archive

next.js

Setting up Next.js with yarn

Filed 2026-08-18The Field Notes Desk

Scaffolding is the easy part: create-next-app asks a handful of questions — TypeScript, ESLint, Tailwind, the App Router, a src directory, an import alias — and yarn takes it from there.

The one snag worth writing down: create-next-app shells out to whichever package manager you pick, so yarn has to already be on the machine and on the PATH before you run it, or the install step fails silently into an ENOENT.

Once it's scaffolded, the day-to-day commands are the same shape as npm: yarn dev to run the local server, yarn build to produce a production build, yarn start to serve that build.