nx/docs/react/cli/clear-cache.md

12 lines
283 B
Markdown

# clear-cache
Clears all the cached Nx artifacts and metadata about the workspace.
## Usage
```bash
nx clear-cache
```
[Install `nx` globally]({{framework}}/getting-started/nx-setup#install-nx) to invoke the command directly using `nx`, or use `npx nx`, `yarn nx`, or `pnpx nx`.