Configure Inputs
Learn how to optimize when Nx restores from the cache by customizing what should be taken into consideration when calculating computation hashes for tasks
Configure Outputs
Learn how to optimize what Nx restores from the cache
Defining Task Pipeline
This recipe shows how to define task dependencies in your Nx workspace
Run Tasks in Parallel
Learn how to configure Nx to run multiple tasks simultaneously by adjusting the parallel option in the command line or nx.json configuration.
Pass Args to Commands
Recipe describing how to pass args to tasks running commands
Run Commands Executor
Learn how to run custom terminal commands with Nx to make them cacheable, distributable, and compatible with Nx's affected commands.
Reduce Repetitive Configuration
Learn how to use Nx's targetDefaults, namedInputs, and other features to minimize duplicate configuration across projects in your workspace.
Root Level Scripts
Learn how to run npm scripts from your root package.json using Nx to benefit from caching, task orchestration, and other Nx features.
Convert to Inferred
Learn how to convert your Nx workspace from explicit executor configuration to using inferred tasks for reduced configuration and improved caching.
Change Cache Location
Learn how to customize where Nx stores its cache files by modifying the cacheDirectory setting in your nx.json configuration.
Self-Hosted Caching
Learn how to set up remote cache.
Skipping Cache
Learn how to bypass Nx's caching mechanism for specific tasks, skip remote caching from Nx Cloud, and reset the cache when needed.
Workspace Watching
Learn how to use Nx's workspace watching feature to automatically execute commands when files change, improving development workflow and productivity.
Terminal UI
Learn how to leverage and configure the Nx Terminal UI when running tasks