node --run dev

Category: Node.js & npm/yarn

node --run dev

Run a package.json script via Node

Executes the dev script exactly like npm run dev but without invoking npm, shaving startup time in tight loops. Scripts run with node_modules/.bin on the PATH so local tools resolve. Requires the script to exist, unlike npm run --if-present.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.