Allows running concurrent shell commands and supports multiple levels of nesting. Commands have alternating colors and are prefixed with their index.
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:
importconcurrentlyfrom"jsr:@orgsoft/concurrently";awaitconcurrently(["deno lint","deno fmt","sleep 1 && echo 'it worked!'"]);Recommended:
deno install -frAg -n concurrently jsr:@orgsoft/concurrentlyMore restrictive:
deno install -frg --allow-env=SHELL -n concurrently jsr:@orgsoft/concurrentlydeno is required to install and use concurrently. You can change
the name of the globally installed command by changing -n concurrently to
-n mycommandname.