# 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="https://4214978157-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIRXB2SJ9FZ5x4QW8ihpe%2Fuploads%2Fdj91mT7LQTywh2Oa6trS%2FCLI%20preview.png?alt=media&#x26;token=cee75e81-5b5f-441c-bb39-6cbd631d92c7" 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="workspace-and-account/invite-team-members"><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="workspace-and-account/invite-team-members">invite-team-members</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](https://docs.omlet.dev/cli-and-dashboard/workspace-and-account/invite-team-members) 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.
