Bun has built-in parallel and sequential script running
February 9, 2026
Since v1.3.9, Bun supports --parallel and --sequential flags on bun run,
so npm-run-all2 (a package that runs several npm scripts in parallel or in sequence) isn’t needed anymore. The flags close a long-standing issue.
{
"scripts": {
"install": "bun run --sequential 'install:*'",
"install:copy-files": "copy-files-from-to",
"install:whatever": "...",
"lint": "bun run --parallel 'lint:*'",
"lint:credo": "mix credo --strict",
"lint:eslint": "eslint ."
}
}
Glob patterns like 'install:*' match all scripts with that prefix (just like npm-run-all2’s run-s install:*).