LinuxCommandLibrary

turbo

TLDR

Run task

$ turbo run [build]
copy
Run multiple tasks
$ turbo run [build] [test]
copy
Run with filter
$ turbo run [build] --filter=[package-name]
copy
Run in parallel
$ turbo run [build] --parallel
copy
Continue on error
$ turbo run [build] --continue
copy
Show dependency graph
$ turbo run [build] --graph
copy
Prune for deployment
$ turbo prune --scope=[app]
copy
Clean cache
$ turbo run [build] --force
copy

SYNOPSIS

turbo command [--filter pattern] [options]

DESCRIPTION

turbo (Turborepo) runs monorepo tasks efficiently. It caches and parallelizes builds.
Task running respects dependencies. topological order maintained.
Caching skips unchanged work. Content hashing identifies changes.
Filtering targets specific packages. Patterns select subsets.
Graph visualization shows structure. Understand task relationships.
Remote caching shares across team. Avoid rebuilding others' work.

PARAMETERS

run TASKS

Run tasks.
prune
Create subset.
--filter PATTERN
Filter packages.
--parallel
Parallel execution.
--continue
Continue on error.
--graph
Dependency graph.
--force
Bypass cache.
--cache-dir DIR
Cache directory.

CAVEATS

Requires turbo.json config. Monorepo setup needed. Cache strategy matters.

HISTORY

Turborepo was created by Jared Palmer and acquired by Vercel in 2021. It focuses on making monorepo development fast.

SEE ALSO

npm(1), yarn(1), nx(1)

Copied to clipboard