But what a mess all those open terminals on your computer! There are so many commands to launch simultaneously on the same machine, and you risk getting confused and mixing up your tasks while juggling between terminals.
However, I have the perfect solution for you!
Introducing Mprocs, a fantastic free tool that enables you to execute multiple commands or processes in parallel. Unlike other tools like Concurrently, Mprocs has a unique advantage up its sleeve. It allows you to view the output of each command separately and interact with the launched processes. This means you can even work in Vim while using Mprocs. Isn’t that beautiful?

It works on Linux, macOS and Windows and to use it, you can simply chain commands like this:
mprocs "yarn test -w" "webpack serve"
Or simply make an mprocs.yaml file which will contain all your commands:
procs:
nvim:
cmd: ["nvim"]
server:
shell: "nodemon server.js"
webpack: "webpack serve"
tests:
shell: "jest -w"
env:
NODE_ENV: test
And that will be taken into account when you run:
mprocs
To install Mprocs, you have multiple options depending on your operating system. Here are the installation methods available:
- Binary Download: You can download the pre-built binary for your specific operating system (Linux, MacOS, or Windows) from the official Mprocs website. Once downloaded, you can execute the binary directly.
- NPM (Node Package Manager): If you have Node.js installed, you can use NPM to install Mprocs globally by running the following command in your terminal:
npm install -g mprocs
3. Homebrew (MacOS): If you’re using MacOS and have Homebrew package manager installed, you can install Mprocs by running the following command:
brew install mprocs
4. Cargo (Rust package manager): If you have Cargo (the package manager for the Rust programming language) installed, you can install Mprocs by running the following command:
cargo install mprocs
5. Scoop (Windows): If you’re using Windows and have Scoop package manager installed, you can install Mprocs by running the following command:
scoop install mprocs
6. AUR (Arch User Repository): If you’re using an Arch Linux-based distribution, you can install Mprocs from the AUR using an AUR helper such as yay
or aurman
:
yay -S mprocs
7. MPR (Mprocs Package Registry): Finally, you can install Mprocs using the Mprocs Package Registry (MPR), which provides a convenient way to manage Mprocs packages. You can follow the instructions provided in the official Mprocs documentation to install MPR and then install Mprocs using MPR.
Once you have successfully installed Mprocs using your preferred method, you can refer to the documentation for usage instructions and start enjoying its capabilities. Happy working with Mprocs!
Detailed installation instructions are available in the documentation by clicking here .
Go to work !