Skip to content

Quick Start

This guide walks you from zero to a working project in a few commands.

If you already have a package.json, skip to step 2.

Create a minimal package.json by hand or with npm:

Terminal window
mkdir my-app && cd my-app
npm init -y
Terminal window
rush install

Rush reads your package.json, resolves the full dependency tree, downloads and extracts every package into node_modules/, and writes a rush.lock file to pin exact versions.

Terminal window
rush add express
rush add typescript --save-dev

This updates package.json, resolves the new graph, and re-installs.

Terminal window
rush run build

Rush executes the build script from your package.json, automatically running prebuild and postbuild hooks if they exist.

Terminal window
rush outdated

Displays a colour-coded table of packages where newer versions are available.


After rush install, your project directory looks like this:

my-app/
├── node_modules/
│ ├── .bin/ ← symlinked executables from direct deps
│ ├── .rush/ ← content-addressed package store
│ └── express/
├── package.json
└── rush.lock ← exact pinned versions — commit this

Rush uses a content-addressed store inside node_modules/.rush/. Each package is extracted once and reused across installs via integrity sentinels, so subsequent rush install runs are nearly instant.


CommandWhat it does
rush listShow installed packages as a tree
rush why <pkg>Explain why a package is in your tree
rush exec <bin>Run a binary from node_modules/.bin
rush trust add <pkg>Allow a package to run install scripts

Next: rush install →