# concurrently — card for AI agents

Run multiple npm scripts concurrently for efficient development workflows.

Category: Dev workflow and config · npm package `concurrently` · latest version 10.0.6 (checked 2026-11-01)
Install: `npm install concurrently`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Rules for AI agents (paste into AGENTS.md or CLAUDE.md)

## concurrently
- Install it as a dev dependency (`npm i -D concurrently`, `pnpm add -D concurrently`, `bun add -d concurrently`). The README recommends `devDependencies` because it is usually a development tool.
- Wrap each command in its own quotes: `concurrently "command1 arg" "command2 arg"`. Unquoted arguments are split into separate commands.
- Use double quotes, escaped inside `package.json`, because Windows only supports double quotes: `"start": "concurrently \"command1 arg\" \"command2 arg\""`.
- Add `--kill-others` (or `killOthersOn: ['failure']` in the API) so one dead process does not leave the others running unnoticed.
- In the API, set `successCondition` (`first`, `last`, or all) on purpose. It decides whether `result` resolves or rejects.
- Treat an exit code of `null` as an abnormal termination. concurrently will exit non-zero.
- Set `shell` explicitly if a command depends on a particular shell. Otherwise it falls back to `npm_config_script_shell`, `cmd.exe` on Windows, or `/bin/sh` elsewhere.

## Docs written for agents
- [llms.txt (index of the docs)](https://nodejs.org/llms.txt)

## What it is
- concurrently is a command-line tool and Node.js library that starts several commands at once and streams their output into a single terminal. Each line gets a prefix: the command's name, index, PID, time, or a custom template. The README describes it as "Like `npm run watch-js &amp; npm run watch-less` but better." The repository was created on 2015-02-05 and is MIT licensed.
- The author's reason for writing it is in the README. With `&amp;`, output from different commands is hard to follow, and "if one process fails, others still keep running and you won't even notice the difference." concurrently answers this with prefixed output and kill rules. `--kill-others` on the CLI and `killOthersOn` in the API stop every command once one exits. Other options set how many processes run at once, how many restarts a dying process gets, and which exit decides whether the whole run succeeded.
- It is aimed at the `scripts` section of a package. The README recommends installing it as a dev dependency. It also works with Yarn, pnpm and Bun, and it can run any command, not only Node ones. The tool is also available under the shorter name `conc`.

## Caveats
- Unquoted arguments become separate commands: Each command must be wrapped in quotes. Without them, `concurrently command1 arg command2 arg` starts four commands.
- Windows needs escaped double quotes: The README marks this as important: Windows only accepts double quotes. Inside `package.json` those quotes must be escaped, as in `"concurrently \"command1 arg\" \"command2 arg\""`.
- The shell changes with platform and runner: If no `shell` is set, the shell is chosen from context: `npm_config_script_shell` if present, otherwise `cmd.exe` on Windows or `/bin/sh` elsewhere. The same command string can therefore run under different shells.
- Exit code null fails the run: The FAQ explains that a `null` exit code means the child process did not end normally, for example because it was killed by a signal. concurrently then exits non-zero as well.
- No start order, per one user: A blogger who uses it calls it overkill for a single command. For processes that must start in a specific order, he suggests npm-run-all instead.

## Numbers (AgentGid data)
- Gid Score: 76.2 (#173 of all tools, 12 of 299 in its category)
- Used in 484 public projects set up for AI coding agents (7.7%)
- Downloads last week: 30,091,107 (as of 2026-11-24), +35.1% over 4 weeks
- GitHub stars: 7,875 (as of 2026-11-24)
- Last push: 2026-11-21

## Often used with
Vite 57.6%, Laravel Vite Plugin 31.0%, Axios 27.1%, Tailwind CSS 56.2%, Prettier 37.8%, TypeScript 60.3%

## Links
- AgentGid page: https://agentgid.com/tools/concurrently/
- Homepage: https://github.com/open-cli-tools/concurrently#readme
- Repository: https://github.com/open-cli-tools/concurrently
- Source: https://github.com/open-cli-tools/concurrently#readme
- Source: https://github.com/open-cli-tools/concurrently
- Source: https://github.com/open-cli-tools/concurrently/releases

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
