Skip to content
>_devvkit
$devvkit resources --cheatsheet npm-&-yarn-cheatsheet

npm & Yarn Cheatsheet

[tooling]

npm and Yarn are the two dominant JavaScript package managers. This cheatsheet covers the most common commands for both. Yarn commands use the yarn classic syntax (v1), while npm commands target npm v9+.

For newer projects, consider using pnpm for faster, disk-efficient installs.