Between install flags, workspace commands, and publishing steps, npm has a lot of surface area to remember. This searchable cheatsheet keeps the commands you actually use close at hand.
What Is the npm Cheatsheet?
A searchable, categorized reference covering project setup, installing/removing/updating packages, running scripts, registry info, publishing, configuration, and npm workspaces — each entry with common flags and a real example command.
How to Use It
- Open the tool at /tools/npm-cheatsheet.
- Search by command name, flag, or description, or filter by category.
- Click Copy on any command to copy it straight to your clipboard.
Key Features
- Instant search across command names, flags, descriptions, and examples.
- Category filters (Installing, Publishing, Workspaces, and more).
- Real example commands, not just abstract syntax.
- One-click copy for any command.
When to Use This Tool
- Remembering the exact flag for a less-common npm command.
- Learning npm workspaces syntax for a monorepo setup.
- Quickly checking the difference between similar commands like
npm installandnpm ci.
Try It Now
Open npm Cheatsheet directly, or press ⌘K and type the tool name from anywhere on the site.
Part of the References collection on WebdevToolbox — free, browser-based developer tools with no login required.