# Getting started

> Install the Xerlock SDK, call init() and connect your React Native app to the Xerlock desktop app.

Xerlock is a desktop DevTools app for React Native. See your app’s console, network requests, state, storage, data and queries while you develop.

## Install

1. Install the SDK.

   * pnpm

     **

     ```sh
     pnpm add @xerlock/client
     ```

   * npm

     **

     ```sh
     npm install @xerlock/client
     ```

   * yarn

     **

     ```sh
     yarn add @xerlock/client
     ```

2. Download the [desktop app](/#download).

3. Call `init()` in your app’s entry file.

   *index.ts*

   ```ts
   import { init } from '@xerlock/client';

   init();
   ```

4. Run your app. It connects to Xerlock automatically.

This turns on the [Console](/docs/sdk/console/) and [Network](/docs/sdk/network/) panels. To add [TanStack Query](/docs/sdk/tanstack-query/), [Zustand](/docs/sdk/zustand/), [Redux](/docs/sdk/redux/), [Storage](/docs/sdk/storage/) and more, see [Configuration](/docs/configuration/).

## Project requirements

| Framework    | Version |
| ------------ | ------- |
| Expo SDK     | 55+     |
| React Native | 0.83+   |

For full compatibility information, [view our compatibility guide](/docs/compatibility/).

## Safe in production

Xerlock only runs in development builds. In production, `init()` does nothing and nothing connects, so you can leave it in your code.

## Next steps

[Configuration](/docs/configuration/)The init() config, defaults and type safety.

[Zustand](/docs/sdk/zustand/)Inspect stores, edit state, time travel and call actions.

[Redux](/docs/sdk/redux/)Action log, state diffs, dispatch and time travel.

[Troubleshooting](/docs/troubleshooting/)The app doesn't connect, or a panel is missing.
