Nx
Nx on GitHub

Fast CI
Built for Monorepos

Nx Cloud is the end-to-end solution for smart, efficient and maintainable CI.

App screenshot: overview

See how Nx Cloud works

In under 9 minutes

Startups and Fortune 500 companies trust Nx Cloud

Royal Bank of Canada
AWS
Capital One
Shopify
Storybook
VMware
RedwoodJS
Cisco

Both faster & cheaper

Nx Cloud makes your CI significantly faster and cheaper, while also making it more maintainable and reliable.

- %
Faster CI
Reported by enterprises using Nx Cloud.
Halve your CI bill
CI
$6k
CI + Nx Cloud
$3.2k

Cost per month for CI compute. Data collected based on a typical month of CI runs measured on the Nx OSS monorepo.

Deep understanding of your workspace

Nx Cloud knows your build tools, how your projects relate to each other, and what every task does.

Nx Agents: seamless task distribution
Nx Cloud manages CI agent machines, offloading complex machine provisioning from your CI provider. Integration is as simple as initiating a distributed run on your provider, with Nx Agents handling the rest - streamlining operations and enhancing cost efficiency.

Main Workflow

nx affected --target=build,lint,test

js:build
js:lint

Nx Agents

Agent 12
  • website:build-base
  • website:build
Agent 23
  • docs:lint
  • express:test
  • website:lint
Nx Replay: secure computation cache
Nx Cloud caches and restores task results, across PRs and local machines, drastically accelerating your CI runs.
0tasks replayed instantly with cache
remote
build
website
< 1s
remote
test
express
< 1s
remote
build
eslint
< 1s
remote
lint
autoloan
< 1s
remote
test
website
< 1s
remote
lint
website
< 1s
remote
build-base
express
< 1s
remote
build
express
< 1s
remote
lint
express
< 1s
remote
test
autoloan
< 1s
Atomizer: E2E test splitting
Nx Cloud splits large e2e projects into fine-grained test runs, enabling more efficient distribution and dramatically reducing CI times.
Runningnx affected --targets=e2e
In progress
e2e
ui-cdk
e2e/libs/ui-cdk/spec-1.tsx
e2e/libs/ui-cdk/spec-2.tsx
In progress
e2e
website
e2e/apps/website/spec-1.tsx
e2e/apps/website/spec-2.tsx
e2e/apps/website/spec-3.tsx
e2e/apps/website/spec-4.tsx
e2e/apps/website/spec-5.tsx
e2e/apps/website/spec-6.tsx
Flaky task detection
Nx Cloud automatically identifies flaky tasks from any tool and initiates a re-run of those specific tasks, optimizing resource usage for peak efficiency.
Runningnx affected --targets=e2e,test
miss
test
flaky1 retrywebsite
Failed
e2e
1 retrywebsite
In progress
test
flaky1 retryui-cdk
remote
lint
website
In progress
build
ui-cdk
Actionable feedback
Nx Cloud lets you see what went wrong, and how to fix it. It understands your command and lets you find the logs you need.
Failedwith code: 1
Attempt 1Attempt 2

Feb 23, 2024 08:57:49 - 08:57:54 (4s)

nx run nx-dev:build
nx run nx-dev:sitemap ✨ [next-sitemap]
  Loading next-sitemap config:file:///home/workflows/workspace/nx-dev/nx-dev/next-sitemap.config.js
  ❌ [next-sitemap] Unable to find export-maker.
    Make sure to build the project using "next build" command
    node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */); ^
            [Error:ENOENT: no such file or directory, stat '/home/workflows/workspace/dist/nx-dev/nx-dev/.next/export-marker.json']
            errno: -2, code: 'ENOENT', syscall: 'stat', path: '/home/workflows/workspace/dist/nx-dev/nx-dev/.next/export-marker.json'
  Node.js v20.9.0 Warning: command "pnpm next-sitemap --config
  ./nx-dev/nx-dev/next-sitemap.config.js" exited with non-zero status code
Coming soon

AI for your CI

With the knowledge of your workspace structure, your CI and commit history, Nx Cloud can optimize CI resource usage, help resolve issues, provide powerful analytics and suggest refactorings.

Task error insights
Debug task errors on your CI pipeline directly in your pipeline's UI.
Dynamic Nx Agent sizing
Automatically adjust Nx Agents' resource classes and numbers depending on your workspace usage and needs.
Task cache miss diagnosis
Understand why a task has a cache miss and how to fix it.
Organization insights
Understand your teams' workspaces: shared code usage, ownership, bottlenecks.

Seamless distribution, faster CI

Nx Cloud dynamically adapts to your CI needs - providing an excellent developer experience while minimizing your costs.

Perfect provisioning.
Instruct Nx Cloud to dynamically allocate the right number of agents for each pull request.
Effortless CI integration.
Utilize additional compute from Nx Cloud and enjoy faster and cheaper CI with your existing provider.
Simple configuration.
Add a single line to your CI configuration to enable distribution, computation caching, E2E test splitting, and more.

Your CI provider

nx affected -t lint build test

on job: main-linux

~ $

npx nx-cloud start-ci-run --distribute-on="15 linux-medium-plus-js"

Your CI provider

nx affected -t lint build test

on job: main-linux

Nx Cloud

nx run buildon Agent 1, Agent 2, Agent 3
nx run teston Agent 1, Agent 4
nx run linton Agent 1, Agent 2, Agent 4

Optimize agent utilization
Save money

Nx Cloud uses historical data and models to optimize the utilization of your agents.

Number of idle agents VS used agents over time
Available agents count
Used agents count
Agents count
TimeDay 1Day 2Day 3Day 4Day 5Day 6Day 7Day 8Day 9Day 10
Nx Cloud enabled

Trusted by startups and Fortune 500 companies

Nx Cloud provides plans for open source projects, startups, and large enterprises.

Developers using Nx
2M+
Active workspaces
4k+
Compute time saved
800+ years
Runs daily
100k+

Ready to
build smarter and ship faster?