# CLI

Omlet provides component analytics and insights for React by utilizing the component usage data from your codebase. With this guide, you'll learn to set up Omlet CLI and scan your codebase.

<figure><img src="/files/29g8fmKLqwnkKSpaIBGX" alt=""><figcaption></figcaption></figure>

## Before you begin

Before we jump in, make sure to create your account. Omlet will walk you through setting up your workspace. If a teammate already has one, they can send you an invite.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="https://feta.omlet.dev/login"><strong>Create your account</strong></a></td><td>If you haven't used Omlet before, sign up for an account and create your workspace.</td><td><a href="https://feta.omlet.dev/login">https://feta.omlet.dev/login</a></td></tr><tr><td><a href="/pages/2AxEpn0P1z38w9bjxCXY"><strong>Inviting team members</strong></a></td><td>If your team already has a workspace, you can ask them to invite you.</td><td><a href="/pages/2AxEpn0P1z38w9bjxCXY">/pages/2AxEpn0P1z38w9bjxCXY</a></td></tr></tbody></table>

## Prepare your codebase

The first step is to scan your codebase using the CLI—make sure that your codebase is locally available. If you manage your component library and your application(s) in separate repositories, ensure they're all cloned locally and ready to go.

{% hint style="info" %}
**No access to the codebase?**&#x20;

You can [invite a developer](/cli-and-dashboard/workspace-and-account/invite-team-members.md) to scan the repositories.&#x20;
{% endhint %}

Omlet considers each package a separate project so that you can track usages individually. Some of the supported setups include:

* Single repo that includes both your application and component library
* Monorepo with multiple packages and your component library
* Multiple application repos and a separate component library

### **Framework & platform support**

Omlet currently supports **React** and **React Native**. We'll be adding support for other frameworks and platforms in the future — share your feedback [here](https://zeplin.typeform.com/to/pgIYk088#feature_request=Platform%20or%20Framework%20Support).&#x20;

If you prefer, you can also scan an open-source project. In this tutorial, we'll be using [Proton](https://github.com/ProtonMail/WebClients) as an example.


---

# 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.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.
