> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/cli/getting-started.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

# Install And Sign In

Install, authenticate, and configure the CLI

{% hint style="warning" %}
**The CLI is in beta.** Commands, flags, and output shape can change between releases. Pin a version in anything automated, and check the [Command Reference](https://docs.eyepop.ai/cli/reference.md) after upgrading.
{% endhint %}

### Install

`eyepop` is a single binary. Pick your platform.

**macOS** — Apple Silicon and Intel

```bash
brew tap eyepop-ai/eyepop
brew trust eyepop-ai/eyepop
brew install eyepop
```

`brew trust` lets Homebrew load formulae from the EyePop tap before installing.

**Linux** — ARM64 and AMD64

```bash
curl -fsSL https://raw.githubusercontent.com/eyepop-ai/homebrew-eyepop/main/install.sh | sh
```

The script downloads the release binary, verifies its SHA-256, and installs it to `~/.local/bin` — or over an existing non-Homebrew `eyepop` already on your `PATH`, so re-running it updates in place. It lives in the public tap, so you can [read it first](https://github.com/eyepop-ai/homebrew-eyepop/blob/main/install.sh). Set `EYEPOP_INSTALL_DIR` to install elsewhere, or `EYEPOP_VERSION` to pin a release tag.

If it warns that the install directory is not on your `PATH`, add it:

```bash
export PATH="$HOME/.local/bin:$PATH"
```

Homebrew works on Linux too, with the same three commands as macOS. The install script also runs on macOS.

**Windows** — through WSL2 with Ubuntu

On Windows, run the CLI inside an Ubuntu distribution under WSL2. In PowerShell, as administrator:

```powershell
wsl --install -d Ubuntu
```

Restart if Windows asks you to, open **Ubuntu** from the Start menu, and create your Linux user when prompted. If WSL was already installed, check that Ubuntu runs under WSL 2 with `wsl -l -v`, and convert it with `wsl --set-version Ubuntu 2` if it shows version 1.

Then follow the **Linux** instructions above inside the Ubuntu shell. Every `eyepop` command from then on runs there too.

**Any platform, by hand**

Every release publishes one archive per platform. Pick your target and let the tag resolve to the newest release:

```bash
TARGET=x86_64-unknown-linux-gnu
VERSION=$(curl -fsSL https://api.github.com/repos/eyepop-ai/homebrew-eyepop/releases/latest \
  | sed -n 's/.*"tag_name": *"\([^"]*\)".*/\1/p')

curl -fsSL -o eyepop.tar.gz \
  "https://github.com/eyepop-ai/homebrew-eyepop/releases/download/$VERSION/eyepop-$VERSION-$TARGET.tar.gz"
tar -xzf eyepop.tar.gz
mkdir -p ~/.local/bin
install -m 0755 eyepop ~/.local/bin/eyepop
```

Targets: `x86_64-unknown-linux-gnu`, `aarch64-unknown-linux-gnu`, `x86_64-apple-darwin`, `aarch64-apple-darwin`.

Verify the install:

```bash
eyepop --version
```

Update later with `brew upgrade eyepop` for Homebrew installs, or by re-running the install script otherwise.

```bash
eyepop update
```

`eyepop update` upgrades a Homebrew install in place. On any other install method it reports the latest version, and when a newer one has shipped it prints the download link for your platform.

### Authenticate

Choose the path that fits how you use the CLI.

{% tabs %}
{% tab title="Interactive (browser)" %}
Sign in through the browser OAuth flow — best for local, day-to-day use:

```bash
eyepop auth login
```

Check or clear your session:

```bash
eyepop auth status
eyepop auth logout
```

{% endtab %}

{% tab title="Scripts & CI (API key)" %}
Set an API key in the environment — best for automation. This is the same key the SDKs use; create one in the [dashboard](https://dashboard.eyepop.ai) (see [API Keys](https://docs.eyepop.ai/api-keys.md)) or, once logged in, with `eyepop create key`:

```bash
export EYEPOP_API_KEY=eyp_...
```

The CLI picks it up automatically, no `auth login` needed. `eyepop get key` then checks that key: whether it is still valid, when it expires, and what it may reach.
{% endtab %}
{% endtabs %}

{% hint style="info" %}
API keys are secrets — keep them out of source control and shared shell history.
{% endhint %}

### Choose an account

After `eyepop auth login`, `eyepop auth status` shows the account new resources are created in, and `eyepop get accounts` lists every account you can reach. Both read the stored login session, so under `EYEPOP_API_KEY` alone `auth status` reports that you are not logged in and `get accounts` refuses:

```bash
eyepop auth status
eyepop get accounts
```

Reads are not limited to one account, so data shared with you stays visible. To create somewhere else, to select an account under an API key, or to list one account's sessions and deployments, name the account on the call with `--account <uuid>`, or set `EYEPOP_ACCOUNT_UUID` for the whole shell.

### Machine-readable output

Add `--json` to any command when scripting, to get raw JSON instead of styled tables. A few commands have no table to replace and ignore it: `eyepop tui` refuses it outright, `eyepop update` and `eyepop instance logs` print plain text, and `eyepop create deployment` and `eyepop patch deployment` print a bare session UUID either way.

```bash
eyepop get datasets --json
eyepop run --model eyepop.person:latest --media-path image.jpg --json
```

### Next steps

* [Run Inference & Evaluations](https://docs.eyepop.ai/cli/run.md) — run models on media and datasets
* [On-Premise Instances](https://docs.eyepop.ai/cli/on-premise.md) — run inference on your own hardware, step by step
* [Resources](https://docs.eyepop.ai/cli/resources.md) — manage datasets, abilities, models, and sessions


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/cli/getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
