Nx comes with dedicated documentation for each framework:

reset

Clears all the cached Nx artifacts and metadata about the workspace and shuts down the Nx Daemon.

Usage

nx reset

Install nx globally to invoke the command directly using nx, or use npx nx, yarn nx, or pnpx nx.