Skip to content

Express is a mature, minimal, and an open source web framework for making web applications and apis. Nx scales your Express monorepo, so you can grow your APIs and shared libraries without losing fast, reliable builds.

The @nx/express plugin supports the following package versions.

PackageSupported Versions
express^4.0.0 || ^5.0.0

Nx generators install the latest supported versions automatically when scaffolding new projects.

Start from the Express template to scaffold a ready-to-run Express API:

Terminal window
npx create-nx-workspace@latest my-workspace --template nrwl/express-api-template

In any Nx workspace, you can install @nx/express by running the following command:

Terminal window
nx add @nx/express

This will install the correct version of @nx/express.

In CI, Nx runs nx affected to rebuild and retest only the projects a change touches, and caches results to skip repeated work.

For a complete pipeline, see Set up CI.