13 · Environments & Packaging

npm / pnpm

JavaScript package installers

Tools that install libraries into a JS/TS project. npm ships with Node; pnpm is a faster alternative that shares packages on disk. Yarn is another common option.

Concrete example

`pnpm install` or `npm install` reads the lockfile and fills `node_modules`.

Why it matters

Almost every web agent session starts by installing or updating dependencies.