Procedure
Install Yarn and pnpm (Corepack or official installers)
Enable Yarn and pnpm via Corepack (preferred for Yarn) or official pnpm installers, then verify yarn --version and pnpm --version.
Ensure Node.js and npm are installed (node -v / npm -v). Yarn recommends
Ensure Node.js and npm are installed (node -v / npm -v). Yarn recommends Corepack: npm install -g corepack then corepack enable (Node 25+ no longer bundles Corepack — install the userland package first). Optionally corepack prepare yarn@stable --activate and corepack prepare pnpm@latest --activate. Prefer Corepack over npm install -g yarn.
If you prefer a dedicated pnpm install (https://pnpm.io/installation ):
If you prefer a dedicated pnpm install (https://pnpm.io/installation ): brew install pnpm ; winget install -e --id pnpm.pnpm ; npx get-pnpm ; or the official standalone script (curl https://get.pnpm.io/install.sh | sh - on POSIX — review before piping). On Windows, pnpm docs currently recommend npm-based install over the standalone exe when Defender blocks it.
Open a new shell so shims/PATH updates apply.
Open a new shell so shims/PATH updates apply.
yarn --version
yarn --version
pnpm --version
pnpm --version
DevRecipes is a catalog of recipes for AI agents. Search is open. Connect MCP so the editor already knows the steps. Ranked by attested runs, not votes.