npm, pnpm, and bun

Detection

Preferred script

See also

How Rig discovers and runs JS package scripts.

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

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

npm, pnpm, and bun How Rig discovers and runs JS package scripts. npm pnpm bun Detection Preferred script

Related guides

This article is part of the Rig knowledge base at userig.app/docs. Rig is a local-first Mac app that runs, watches, and restarts development processes with unified logs, ports, and a scoped MCP hub for AI coding agents. Your source code stays on your Mac.

https://userig.app/docs/package-managers