
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
parallel-sh
Advanced tools
Run multiple shell commands in parallel with pretty, Docker-like output. No third-party dependencies required.
You can run directly with npx (no install needed):
npx parallel-sh --commands 'cd frontend && npm run dev; cd backend && npm run dev'
Or install globally:
npm install -g parallel-sh
parallel-sh --commands 'cd frontend && npm run dev; cd backend && npm run dev'
Or locally in your project:
npm install parallel-sh --save-dev
npx parallel-sh --commands 'cd frontend && npm run dev; cd backend && npm run dev'
--commands <cmds>: Pass semicolon-separated shell commands to run in parallel.--config <file>: Use a JSON configuration file specifying commands to run.--minLength <number>: Minimum width for the service name column (default: 4).--maxLength <number>: Maximum width for the service name column (default: 12).--help: Show help message and usage examples.npx parallel-sh --commands 'cd frontend && npm run dev; cd backend && npm run start:dev'
Create a file (e.g., commands.json):
{
"minLength": 6,
"maxLength": 16,
"commands": [
{
"name": "frontend",
"command": "npm run dev",
"cwd": "./frontend"
},
{
"name": "backend",
"command": "npm run start:dev",
"cwd": "./backend"
}
]
}
Then run:
npx parallel-sh --config commands.json
npx parallel-sh --help
You can control the minimum and maximum width of the service name column in the output using --minLength and --maxLength (CLI) or minLength and maxLength (config file).
minLength: Minimum width for the service name column (default: 4)maxLength: Maximum width for the service name column (default: 12)Example:
npx parallel-sh --commands 'echo frontend; echo backend' --minLength 8 --maxLength 20
Or in your config file:
{
"minLength": 8,
"maxLength": 20,
"commands": [ ... ]
}
MIT
FAQs
Run multiple commands in parallel with pretty Docker-like output
The npm package parallel-sh receives a total of 3 weekly downloads. As such, parallel-sh popularity was classified as not popular.
We found that parallel-sh demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.