nx/docs/courses/pnpm-nx-next/lessons/11-nx-agents.md
Juri Strumpflohner bcaef27046
docs(core): adjust nx course video titles for better SEO (#29079)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2024-11-26 08:32:05 -08:00

20 lines
774 B
Markdown

---
title: 'Speed Up CI by Running Tasks in Parallel on Different Machines'
videoUrl: 'https://youtu.be/lO_p4tA6IZI'
duration: '2:08'
---
While remote caching is powerful, it may not be enough when core packages change frequently, invalidating the cache for large portions of your workspace.
Nx Cloud comes with a built-in feature called [Nx Agents](/ci/features/distribute-task-execution) that allows to automatically distribute tasks across multiple machines.
In this lesson we're going to update the existing CI configuration to enable Nx Agents. Which mostly can be done by adding the following line:
```plaintext
nx-cloud start-ci-run --distribute-on="5 linux-medium-js"
```
## Relevant Links
- [Distribute Task Execution](/ci/features/distribute-task-execution)