Registry / devops / turbo-darwin-arm64

turbo-darwin-arm64

JSON →
library2.8.17jsnpmunverified

This package, `turbo-darwin-arm64`, is a platform-specific binary artifact for Turborepo, a high-performance build system for JavaScript and TypeScript monorepos. Turborepo (the `turbo` CLI) itself, currently in its 2.x stable series (e.g., v2.9.6, with frequent canary releases), optimizes monorepo workflows by leveraging content-aware hashing, incremental builds, and remote caching to significantly speed up tasks like building, testing, and linting. It is written in Rust for performance and is maintained by Vercel. Key differentiators include its speed, efficient task scheduling through a Directed Acyclic Graph (DAG), and robust remote caching capabilities that can be integrated with any CI provider, including Vercel's free remote cache for linked repositories. This specific `turbo-darwin-arm64` package provides the executable for macOS systems with Apple Silicon (ARM64 architecture), which the main `turbo` CLI package dynamically installs based on the user's operating system and architecture.

npm install turbo-darwin-arm64
INSTALL
IMPORT
SIG · TURBO-DARWIN-ARM64
T
turbo-darwin-arm64
devopsjavascriptv2.8.17
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

This quickstart demonstrates installing the main `turbo` CLI, creating a new monorepo, configuring a basic build task with caching, and running it to observe Turborepo's performance benefits.

npm install -g turbo npx create-turbo@latest my-monorepo cd my-monorepo # Configure a basic build script in a package, e.g., apps/web/package.json: # { # "name": "web", # "scripts": { # "build": "echo 'Building web app...' && mkdir -p dist && echo 'Web app built!' > dist/index.txt" # } # } # Configure turbo.json at the root of your monorepo for caching: # // turbo.json # { # "$schema": "https://turborepo.org/schema.json", # "tasks": { # "build": { # "outputs": ["dist/**"], # "dependsOn": ["^build"] # } # } # } # Run the build task for all apps in the monorepo turbo run build # To see the cache in action, run it again (should be much faster) turbo run build
turbo --version
Debug
Known issues
gotchaThe `turbo-darwin-arm64` package is a low-level binary artifact and should generally not be installed or used directly by application developers. Instead, install the main `turbo` package, which will automatically select and install the correct platform-specific binary for your system (e.g., `turbo-darwin-arm64` for Apple Silicon Macs).
fix
Always install `turbo` via `npm install turbo` (or `pnpm add turbo`, `yarn add turbo`) rather than platform-specific binaries directly. The correct binary will be resolved by your package manager.
affects: >=1.0.0
breakingTurborepo 2.0 introduced several breaking changes, including strict mode for environment variables by default, requiring `packageManager` field in root `package.json`, and changes to `turbo run` command behavior (e.g., `--scope` flag removed). Interactive tasks and clearer logs are now stable, along with a dependency-aware watch mode.
fix
Refer to the official Turborepo 2.0 upgrading guide (turborepo.dev/docs/guides/upgrading) for a comprehensive list of changes and use `npx @turbo/codemod migrate` to assist with configuration updates. Explicitly declare all environment variables used by tasks in `turbo.json` or use `--env-mode=loose` temporarily.
affects: >=2.0.0
breakingVercel authentication flows for remote caching have been moved to standard OAuth/device flows, potentially affecting CI/CD setups that relied on older token mechanisms.
fix
Update CI/CD workflows to use the new Vercel OAuth/device flows for authentication to avoid disruption. Consult Vercel's documentation for granular tokens and 2FA requirements.
affects: >=2.9.7-canary.11
gotchaTurborepo's cache behavior relies on content-aware hashing. If `outputs` are not correctly defined in `turbo.json` or if tasks have side effects outside of declared outputs, caching might be ineffective or lead to stale results.
fix
Carefully define `outputs` for all tasks in `turbo.json` to ensure Turborepo correctly identifies and caches relevant build artifacts. Ensure tasks are deterministic and avoid side effects that are not captured in `outputs`.
affects: >=1.0.0
deprecatedSeveral CLI flags and commands have been deprecated or removed in Turborepo 2.x, such as `turbo-ignore`, `turbo scan`, `--parallel`, `--no-cache`, and `TURBO_REMOTE_ONLY`.
fix
Replace `turbo-ignore` with `turbo query affected`. Use `persistent` and `with` in `turbo.json` instead of `--parallel`. For caching, use `--cache=local:r,remote:r` or `TURBO_CACHE` and `--cache=remote:rw` as appropriate. Review the official documentation for current best practices.
affects: >=2.0.0
Errors
Common errors & fixes
Error: Command failed with exit code 1: turbo run build
A task within the Turborepo monorepo failed during execution.
fix
Examine the output logs preceding the error for specific details about which package or script failed. Turborepo's new terminal UI (v2.0+) allows interactive inspection of individual task logs by selecting them with arrow keys.
turbo: command not found
The `turbo` CLI executable is not installed globally or is not in the system's PATH.
fix
Install `turbo` globally using `npm install turbo --global`, `pnpm add turbo --global`, or `yarn global add turbo`. If already installed, ensure the package manager's global bin directory is included in your system's PATH environment variable.
Turborepo failed to infer a package manager. Ensure you have a 'packageManager' field in your root 'package.json'.
Turborepo 2.0+ requires a `packageManager` field in the root `package.json` to explicitly define the package manager (npm, yarn, pnpm, bun) and its version for the workspace.
fix
Add a `packageManager` field to your root `package.json`, e.g., `"packageManager": "pnpm@9.2.0"`, ensuring the specified version is consistent with your project.
Error: The command "turbo run build --filter=docs" resulted in no packages.
The `--filter` flag did not match any packages or the specified package does not exist/is not correctly configured in `turbo.json` or `package.json`.
fix
Verify the package name is correct and present in your monorepo's `package.json` files. Ensure the package is part of the workspace configuration. The `--filter` flag is stricter in Turborepo 2.x and will error if no packages match.
Upgrade
Version history
2.8.17latest on npm
Audit
Dependencies
turbooptionalThis package is a platform-specific binary dependency for the main 'turbo' CLI, which handles monorepo tasks.
Agent activity
7 hits · last 30 days
node
6
Resources
turbo-darwin-arm64 — npm install turbo-darwin-arm64 · libregistry