> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenoci.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> From nothing to a screenshot of your app in four steps. Every output below is what box printed for a real run

**1. Paste one line into your agent**

Open Claude Code, Codex or Cursor in your project and paste this. The agent installs XenoCI Box, signs you in and runs your first build; the steps below are what it does, so you can also run them yourself

```bash theme={"system"}
Set up box with https://xenoci.com/setup
```

> [!NOTE]
>
> XenoCI Box runs on Linux (x86\_64, arm64), WSL or a Mac with Apple silicon. To install it by hand, pick one

```bash Install script theme={"system"}
curl -fsSL https://xenoci.com/install.sh | sh
```

```bash npm theme={"system"}
npm i -g --prefix ~/.local @xenoci/box
```

```bash npx (no install) theme={"system"}
npx -y @xenoci/box@latest <command>
```

```bash theme={"system"}
box 0.1.46 installed at ~/.local/bin/box (API https://xenoci.com/api)
```

**2. Sign in with GitHub**

```bash theme={"system"}
box login
```

A sign-in page opens with the code your terminal shows. Press Continue with GitHub, approve on GitHub’s own page (box reads your email address only), and the terminal carries on by itself

![The box sign-in page: the code from the terminal and a Continue with GitHub button](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-login.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=46dc3d57608c42d548b066f8d5d6ef44)

```text theme={"system"}
box: signed in as hyeonsuju33-ops
box: balance $2.21 (about 44 iOS or 110 Android build minutes)
```

> [!NOTE]
>
> That account had used part of its credit. Your first sign-in with a GitHub account adds \$10

**3. Run your first build**

From the root of an iOS project. Here it is the public example app [barreiro-max/TODOListMVVM](https://github.com/barreiro-max/TODOListMVVM) (MIT)

```bash theme={"system"}
git clone https://github.com/barreiro-max/TODOListMVVM
cd TODOListMVVM
box build
```

<video controls muted loop playsInline autoPlay preload="metadata" poster="/media/docs/ios-hero-poster.webp" src="https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/media/docs/ios-hero.mp4?fit=max&auto=format&n=ZFKGlbE4Q2bw14Om&q=85&s=7d0d4cd2a2dc692e766535394a0de013" width="1280" height="778" />

box build, then box screenshot of the Tally example app, ending on the screen the job saved

```text theme={"system"}
box: uploading 1/37 TODOListMVVM/Views/Buttons/ContextMenu/DeleteButton.swift
…
box: upload: 40 files checked, 37 new (48 KB), .gitignore respected, .env never sent (snapshot snap_U6yR_XryxDkXiZRz)
box: queue: job bj_7-3bV-glUcpaJYOu (build, ios, $0.05/min) submitted
box: status: running
box: machine: source unpacked
box: cache: first build of this project on its disk, so everything is built once
box: build: xcodebuild build
box: build: done in 9s
box: status: succeeded
box: results: saved to ./.box/out/bj_7-3bV-glUcpaJYOu/ (build.log, list.json)
box: bj_7-3bV-glUcpaJYOu succeeded, 60s billed, $0.05
```

> [accordion] What if the build fails?
>
> A failed build prints each compile error as `file:line:col` with your local path and the lines around it, and exits 1. [Why it failed](https://docs.xenoci.com/ios/why.md) shows where to read a failure first

**4. See the app**

```bash theme={"system"}
box screenshot app.png
```

```text theme={"system"}
box: upload: 40 files checked, 0 new (0 bytes), .gitignore respected, .env never sent (snapshot snap_fI2_p31QeIHfWFb0)
box: queue: job bj_qMjtE9vhlbXZOd20 (screenshot, ios, $0.05/min) submitted
box: build: done in 16s
box: status: succeeded
box: results: saved to ./.box/out/bj_qMjtE9vhlbXZOd20/ (build.log, list.json, screen.png)
box: bj_qMjtE9vhlbXZOd20 succeeded, 120s billed, $0.10
```

![The example app's first screen, My TODOList, as box saved it from an iPhone simulator](https://mintcdn.com/xenoci/ZFKGlbE4Q2bw14Om/images/docs-screenshot.png?fit=max\&auto=format\&n=ZFKGlbE4Q2bw14Om\&q=85\&s=a4bea451dc04dcbf5b314ea6c2bc0a30)

The file box saved, made smaller for this page

> [!NOTE]
>
> Add `--dark` or `--locale ja` for dark mode or another language

> [card] [Test](https://docs.xenoci.com/ios/test.md)
>
> Run your tests on a simulator and read what failed

> [card] [Run the app](https://docs.xenoci.com/ios/run.md)
>
> Keep it open and drive it with box ui

> [card] [Test before every push](https://docs.xenoci.com/ios/pre-push.md)
>
> A git hook that runs box test first

> [card] [Commands](https://docs.xenoci.com/reference/commands.md)
>
> Debug, web pages, shell, jobs and usage


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.