{"id":18871,"library":"turbo-linux-64","title":"turbo-linux-64","description":"The Linux x64 binary for Turbo (Turborepo), a high-performance monorepo build system by Vercel. Current stable version is 2.8.17. This package is a platform-specific dependency automatically installed by the main `turbo` package; you should never install it directly. Turborepo provides incremental builds, task orchestration, remote caching, and parallel execution. It uses a Go-based core for speed and a Rust-based successor in development (Turborepo 2.0+). Alternatives include Nx and Lerna, but Turbo is simpler to configure and optimizes for CI/CD.","status":"active","version":"2.8.17","language":"javascript","source_language":"en","source_url":"https://github.com/vercel/turborepo","tags":["javascript"],"install":[{"cmd":"npm install turbo-linux-64","lang":"bash","label":"npm"},{"cmd":"yarn add turbo-linux-64","lang":"bash","label":"yarn"},{"cmd":"pnpm add turbo-linux-64","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"The main turbo package is a CLI tool, not a library. It should not be imported in application code. Use it via command line or npm scripts.","wrong":"import turbo from 'turbo'","symbol":"turbo","correct":"const turbo = require('turbo')"},{"note":"Turbo is used as a CLI: `npx turbo run <task>`. Do not require() it programmatically.","wrong":"require('turbo').run('build')","symbol":"run","correct":"turbo run build"},{"note":"Turbo requires `run` subcommand before the task name. Running `turbo build` without `run` is a common mistake.","wrong":"\"scripts\": { \"build\": \"turbo build\" }","symbol":"Package.json Script","correct":"\"scripts\": { \"build\": \"turbo run build\" }"}],"quickstart":{"code":"// Install turbo globally or in project\nnpm install -g turbo\n\n# Create a turbo.json config file in your monorepo root\ncat > turbo.json <<EOF\n{\n  \"$schema\": \"https://turbo.build/schema.json\",\n  \"globalDependencies\": [\".env\"],\n  \"pipeline\": {\n    \"build\": {\n      \"dependsOn\": [\"^build\"],\n      \"outputs\": [\"dist/**\", \".next/**\"]\n    },\n    \"test\": {\n      \"dependsOn\": [\"build\"],\n      \"inputs\": [\"src/**/*.tsx\"]\n    }\n  }\n}\nEOF\n\n# Run build for all workspaces\nturbo run build\n\n# Run test only for changed packages\nnpx turbo run test --filter=...[HEAD^1]","lang":"javascript","description":"Shows minimal turbo.json pipeline config and basic turbo CLI usage in a monorepo."},"warnings":[{"fix":"Install the main 'turbo' package instead: npm install turbo","message":"Do not install turbo-linux-64 directly. It is an optional dependency of the 'turbo' package and platform-specific. Installing it directly will likely cause version mismatches.","severity":"gotcha","affected_versions":"all"},{"fix":"Update turbo.json to use the new pipeline format: \"dependsOn\": [\"^build\"] instead of \"dependsOn\": [\"build\"]","message":"Turborepo v2.x changed the task dependency syntax from ^depends-on to dependsOn with a caret prefix notation. Old configs may be incompatible.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Use 'globalDependencies' as an array of strings (not objects) in turbo.json","message":"The 'globalDependencies' field is deprecated in favor of 'globalDependencies' with a different schema. Check docs.","severity":"deprecated","affected_versions":">=2.8.0"},{"fix":"Upgrade Node.js to version 14 or higher.","message":"Turborepo requires Node.js >= 14.x and npm/yarn/pnpm. Not compatible with older engines.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Install the main turbo package: npm install turbo","cause":"Installed turbo-linux-64 instead of main 'turbo' package, or missing main package.","error":"Error: Cannot find module 'turbo'"},{"fix":"Delete node_modules/.cache/turbo and run npm install again. If using CI, ensure platform-specific optional deps are not filtered.","cause":"The turbo-linux-64 optional dependency didn't install (e.g., due to network issues or lockfile conflicts).","error":"Error: ⨯ Unable to resolve turbo binary for platform linux x64"},{"fix":"Create a turbo.json file at the root of your monorepo with pipeline configuration.","cause":"Missing turbo.json configuration file in project root.","error":"Error: ENOENT: no such file or directory, open 'turbo.json'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}