snippetbashTip
turbo — High-performance build system for JavaScript and TypeScript codebases. See also: `nx`. More informat
Viewed 0 times
commandbuildclihighperformanceforturbosystem
Problem
How to use the
turbo command: High-performance build system for JavaScript and TypeScript codebases. See also: nx. More information: <https://turborepo.com/docs/reference>.Solution
turbo — High-performance build system for JavaScript and TypeScript codebases. See also: nx. More information: <https://turborepo.com/docs/reference>.Log in using the default web browser with a Vercel account:
turbo loginLink the current directory to a Vercel organization and enable remote caching:
turbo linkBuild the current project:
turbo run buildRun a task without concurrency:
turbo run {{task_name}} --concurrency={{1}}Run a task ignoring cached artifacts and forcibly re-execute all tasks:
turbo run {{task_name}} --forceRun a task in parallel across packages:
turbo run {{task_name}} --parallel --no-cacheUnlink the current directory from your Vercel organization and disable Remote Caching:
turbo unlinkGenerate a Dot graph of a specific task execution (the output file format can be controlled with the filename):
turbo run {{task_name}} --graph={{path/to/file.html|jpg|json|pdf|png|svg}}Code Snippets
Log in using the default web browser with a Vercel account
turbo loginLink the current directory to a Vercel organization and enable remote caching
turbo linkBuild the current project
turbo run buildRun a task without concurrency
turbo run {{task_name}} --concurrency={{1}}Run a task ignoring cached artifacts and forcibly re-execute all tasks
turbo run {{task_name}} --forceContext
tldr-pages: common/turbo
Revisions (0)
No revisions yet.