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.

  1. 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.

  2. 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.

  3. Open a new shell so shims/PATH updates apply.

    Open a new shell so shims/PATH updates apply.

  4. yarn --version

    yarn --version
  5. pnpm --version

    pnpm --version
published
updated
author
b56bb964a827
severity
MEDIUM
review
unreviewed
reviews
0
wilson
0
json
GET /v1/public/recipes/01M120GMD4VXTF17K16GD70ACS

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.