> For the complete documentation index, see [llms.txt](https://guide.petoi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.petoi.com/extensible-modules/petoi-ai-vision-module/custom-petoi-vision-model/steps-on-how-to-get-started/step-1-choose-or-make-your-own-dataset/creating-custom-training-datasets/mac.md).

# Mac

Install Label Studio on macOS with Homebrew.

{% hint style="success" %}
💡 Reminder: All code and scripts for this project are executed in the cloud. Open the [Google Colab Notebook](https://colab.research.google.com/drive/1OPTGxdn03eJU69hFMEPp0hzXAPZfEDNZ?usp=sharing) and select Runtime > Run all to execute the setup.
{% endhint %}

Install and launch Label Studio on your Mac using Homebrew.

{% hint style="info" %}
Open **Terminal** from **Launchpad** before you begin.
{% endhint %}

{% stepper %}
{% step %}

## Check for Homebrew

Run this command:

```bash
brew --version
```

If it returns a version number, Homebrew is ready.
{% endstep %}

{% step %}

## Install Homebrew

If `brew --version` fails, run this installation script:

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

Follow the on-screen prompts. Enter your Mac password when requested.
{% endstep %}

{% step %}

## Add Homebrew to your PATH

Use this step only when Homebrew is installed but `brew` is not found.

{% tabs %}
{% tab title="Apple Silicon" %}
For M1, M2, M3, and M4 Macs:

```bash
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
```

{% endtab %}

{% tab title="Intel" %}

```bash
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

## Install Label Studio

Install Label Studio:

```bash
brew install humansignal/tap/label-studio
```

Start the application:

```bash
label-studio
```

{% endstep %}
{% endstepper %}

## Create your first project

{% stepper %}
{% step %}
Open [Label Studio](http://localhost:8080/) or [http://localhost:8080](http://localhost:8080/) in your browser.
{% endstep %}

{% step %}
Create an account with an email address and password.
{% endstep %}

{% step %}
Select **Create** and enter a project name.
{% endstep %}

{% step %}
Select **Data Import** and upload the files to label.
{% endstep %}

{% step %}
Open **Labeling Setup** and select a template.
{% endstep %}

{% step %}
Update label names, then select **Save**.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
You can configure local folders, databases, and cloud storage later.
{% endhint %}

To invite teammates, open **Settings** → **Organization**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://guide.petoi.com/extensible-modules/petoi-ai-vision-module/custom-petoi-vision-model/steps-on-how-to-get-started/step-1-choose-or-make-your-own-dataset/creating-custom-training-datasets/mac.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
