Knowledge base / Run

npm, pnpm, and bun

How Rig discovers and runs JS package scripts.

Applies to · Mac · ~3 min

How Rig discovers and runs JS package scripts.

Detection

package.json scripts are discovered automatically. Prefer the package manager your lockfile implies.

Preferred script

Set the default start script (dev, start, etc.) so Start always hits the right entry.

See also

Was this helpful?Updated Aug 2026 · Open Support

Works with

Available for any MCP client — including