# Local storage

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/air/llms.txt).

By default, the Air Context server computes the embeddings for your code and, for members of an organization in JetBrains Console, stores the index. With local storage, the embeddings are still computed on the Air Context server, but the index is kept in the Air Context home directory on your machine and isn't uploaded.

Choose local storage if JetBrains may compute the embeddings for your code, but must not store the index.

Local storage is the default for small repositories indexed by users who aren't members of an organization in JetBrains Console. It refuses large repositories.

The index is also stored locally when you compute the embeddings on your machine, as described in [Local indexing](https://www.jetbrains.com/help/air/context-local-indexing.html.md). To exchange locally stored indexes between machines, see [Share local indexes](https://www.jetbrains.com/help/air/context-share-point.html.md).

<a id="switch-to-local-storage"></a>

## Switch to local storage

Organization members can switch a project to local storage with `jbcontext config set --project storage local`.

To switch a project for everyone who works on it, run the following command in the project directory and commit the project's `.jbcontext.json` file, where the command saves the setting:

```BASH
jbcontext config set --shared storage local
```

For more information, see [jbcontext config](https://www.jetbrains.com/help/air/context-cli-reference.html.md#ref-config).

