---
title: Skip Task Caching
description: Learn how to bypass Nx caching mechanism for specific tasks, skip remote caching from Nx Cloud, and reset the cache when needed.
filter: 'type:Guides'
topics:
  - 'Tasks & caching'
---

There are times when you might want to bypass the [caching mechanism](/docs/features/cache-task-results), either locally or remotely.

## Skip caching

To skip caching for a specific task, use the `--skip-nx-cache` flag. This can be useful when you want to ensure that a task runs fresh, without using cached results.

```shell
npx nx build --skip-nx-cache
```

This will avoid using any local or remote cache. If using Nx Cloud, the run will not be recorded either.

## Skip remote caching from Nx Cloud

To skip remote caching provided by Nx Cloud, use the `--no-cloud` flag. This ensures that the task does not use cached results from Nx Cloud.

```shell
npx nx build --no-cloud
```

It will **still use the local cache if available**. If using Nx Cloud the run will not be recorded either.

## Reset

To clear the cache and metadata about the workspace and shuts down the Nx Daemon you can use the [reset](/docs/reference/nx-commands#nx-reset) command:

```shell
npx nx reset
```
