Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

concurrently

Allows running concurrent shell commands and supports multiple levels of nesting. Commands have alternating colors and are prefixed with their index.

Usage

CLI:

# Run multiple commands concurrently
concurrently "deno lint" "deno fmt" "sleep 1 && echo 'it worked!'"

# Nested concurrent commands
concurrently \
  "concurrently 'deno lint' 'deno fmt'" \
  "sleep 1 && echo 'it worked!'"

Code:

import concurrently from "jsr:@orgsoft/concurrently";

await concurrently(["deno lint", "deno fmt", "sleep 1 && echo 'it worked!'"]);

Installation

Recommended:

deno install -frAg -n concurrently jsr:@orgsoft/concurrently

More restrictive:

deno install -frg --allow-env=SHELL -n concurrently jsr:@orgsoft/concurrently

deno is required to install and use concurrently. You can change the name of the globally installed command by changing -n concurrently to -n mycommandname.

About

⇉ Run shell commands concurrently.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages