# Installation

### Check your environment﻿ <a href="#check-your-environment" id="check-your-environment"></a>

To make sure everything works as expected, install and run the KDoctor tool:

> KDoctor works on macOS only. If you use a different operating system, skip this step.

1. In the Android Studio terminal or your command-line tool, run the following command to install the tool using Homebrew:

   ```
   brew install kdoctor
   ```

   If you don't have Homebrew yet, [install it](https://brew.sh/) or see the KDoctor [README](https://github.com/Kotlin/kdoctor#installation) for other ways to install it.
2. After the installation is completed, call KDoctor in the console:

   ```
   kdoctor
   ```
3. If KDoctor diagnoses any problems while checking your environment, review the output for issues and possible solutions:

   * Fix any failed checks (`[x]`). You can find problem descriptions and potential solutions after the `*` symbol.

   * Check the warnings (`[!]`) and successful messages (`[v]`). They may contain useful notes and tips, as well.

   > You may ignore KDoctor's warnings regarding the CocoaPods installation. In your first project, you will use a different iOS framework distribution option.

If you see checks like this, you're ready to go.

<figure><img src="https://3790227239-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FowzMuJgX1sZF5Ebeh2BD%2Fuploads%2Fhz1JduObY8n5vf9T0A0w%2FScreenshot%202024-10-04%20at%202.43.14%E2%80%AFAM.png?alt=media&#x26;token=64c3bb38-ffbc-4c56-8cd2-2b82106bbbb4" alt=""><figcaption></figcaption></figure>
