TIL Bun has built-in parallel and sequential script running
February 9, 2026
1 min read
Bun
Since v1.3.9, Bun supports --parallel and --sequential flags on bun run,
eliminating the need for npm-run-all2.
{
"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:*).