# Future scans

If you made changes to the repositories you previously scanned or need to add more repositories to your analyses, you can scan them using the **`analyze`** command.

{% tabs %}
{% tab title="npm" %}
{% code fullWidth="false" %}

```sh
npx @omlet/cli analyze
```

{% endcode %}
{% endtab %}

{% tab title="yarn" %}

```sh
yarn dlx @omlet/cli analyze
```

{% endtab %}

{% tab title="pnpm" %}

```sh
pnpm dlx @omlet/cli analyze
```

{% endtab %}
{% endtabs %}

Omlet will automatically detect the previously scanned components and update them as needed. It'll also match components defined in one repo and used in another.

## **Common questions about CLI scans**

### **What happens to the previous scans?**

Omlet keeps your adoption charts up-to-date by tracking component changes across your projects. Removed components? No problem, the usage numbers will adjust automatically.

Historical charts benefit from previous scans. You'll continue to have snapshot data from a specific date to understand how your design system evolves.

### How often should we scan the codebase?

There's no limit to your scans. We recommend scanning when there are changes to your projects and the design system.

### Should we scan everything at once?

Not necessarily. You can scan additional repositories anytime you want. Omlet can match the component relationship between the recently and previously scanned components.

## Next steps

We recommend checking the [Ensure data accuracy page](/cli-and-dashboard/learn-omlet-cli/ensure-data-accuracy.md) and having the required [CLI configuration](/cli-and-dashboard/learn-omlet-cli/config-file.md) to ensure you have accurate component data from your scans.

Once you're happy with the results, you can [set up regular scans](/cli-and-dashboard/learn-omlet-cli/set-up-regular-scans.md) and run Omlet as part of your build process or with scheduled intervals.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.omlet.dev/cli-and-dashboard/learn-omlet-cli/future-scans.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
