# Xbox CLI – Build, release, and operate Xbox games from your terminal

> Source: <https://github.com/xbox/cli>
> Published: 2026-12-02 22:33:39+00:00

**Key takeaway:** Developers can install the XBOX CLI via WinGet or an install script with no .NET required, then run `xbox --skill` and add it to AGENTS.md so an AI agent learns the CLI's commands.

Build, release, and operate XBOX games from your terminal, scripts, and AI agents.

Install with WinGet on Windows:

```
winget install XBOX.cli
```

Run the install script on macOS or Linux:

```
curl -fsSL https://raw.githubusercontent.com/xbox/cli/main/install.sh | sh
```

No .NET installation is required. To install from an archive instead, see
[Installation](https://github.com/xbox/cli/blob/main/docs/installation.md).

Sign in, which opens your browser, then list your Partner Center sellers, save the one you work with, and list its games:

```
xbox auth login
xbox seller list
xbox context set seller-id 1234567
xbox game list
```

[Getting started](https://github.com/xbox/cli/blob/main/docs/getting-started.md) explains each step. To work with a
PlayFab title, follow the [PlayFab quick start](https://github.com/xbox/cli/blob/main/docs/playfab-api.md#setup); your
account needs **Admin** permission on the title.

Each row is a starting point. Run `xbox help <command>` for its options, or follow the link.

| Task | Command | Learn more | 
|---|---|---|
| Find your games, with their Store IDs and XBOX title IDs | `xbox game list` | [Games](https://github.com/xbox/cli/blob/main/docs/commands/game.md) | 
| Create and manage XBOX sandboxes | `xbox sandbox list` | [Sandboxes](https://github.com/xbox/cli/blob/main/docs/commands/sandbox.md) | 
| Manage test account batches | `xbox test-account batch list` | [Test accounts](https://github.com/xbox/cli/blob/main/docs/commands/test-account.md) | 
| Review and publish playtests | `xbox playtest list` | [Playtests](https://github.com/xbox/cli/blob/main/docs/commands/playtest.md) | 
| Check or switch a PC's XBOX sandbox | `xbox pc sandbox get` | [PC](https://github.com/xbox/cli/blob/main/docs/commands/pc.md) | 
| Download, validate, and publish XBOX services configuration | `xbox xbl config download` | [XBOX services](https://github.com/xbox/cli/blob/main/docs/commands/xbl.md) | 
| Read and change PlayFab title data | `xbox playfab title-data get` | [Title data](https://github.com/xbox/cli/blob/main/docs/commands/playfab/title-data.md) | 
| Manage multiplayer servers | `xbox playfab mps build list` | [Multiplayer Servers](https://github.com/xbox/cli/blob/main/docs/commands/playfab/mps.md) | 
| Call a title-level PlayFab API | `xbox playfab api /Admin/GetTitleData` | [PlayFab API](https://github.com/xbox/cli/blob/main/docs/playfab-api.md) | 

Note

The XBOX CLI is a technical preview, so commands and output can change between
releases. Report problems and ideas in [GitHub Issues](https://github.com/xbox/cli/issues), or run
`xbox feedback`.

Start at the [documentation index](https://github.com/xbox/cli/blob/main/docs/README.md), or run `xbox --help`. The
[command reference](https://github.com/xbox/cli/blob/main/docs/commands.md) covers every command, and
[Configuration](https://github.com/xbox/cli/blob/main/docs/configuration.md) covers settings and environment variables.

The CLI includes an agent skill, printed by `xbox --skill`, that teaches an AI agent to use the
CLI. Add this to your agent's instructions, such as `AGENTS.md`:

```
Before running `xbox`, run `xbox --skill` and follow it.
```

See [Using the XBOX CLI from agents](https://github.com/xbox/cli/blob/main/docs/cli-for-agents.md) for more.

The XBOX CLI is a technical preview, supported through [GitHub Issues](https://github.com/xbox/cli/issues),
not Microsoft Customer Service & Support. See [SUPPORT.md](https://github.com/xbox/cli/blob/main/SUPPORT.md) for the full
policy. Report security vulnerabilities as described in [SECURITY.md](https://github.com/xbox/cli/blob/main/SECURITY.md), not
through public issues.

Contributions go through [GitHub Issues](https://github.com/xbox/cli/issues); this repository doesn't
accept pull requests yet. See [CONTRIBUTING.md](https://github.com/xbox/cli/blob/main/CONTRIBUTING.md) for development guidance.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/);
see [CODE_OF_CONDUCT.md](https://github.com/xbox/cli/blob/main/CODE_OF_CONDUCT.md).

Official releases send limited, anonymous usage and reliability telemetry to Microsoft.
They never collect command arguments, PlayFab payloads, title IDs, identities, tokens, or
local paths. To opt out, set `XBOX_TELEMETRY_OPTOUT=1` or pass `--disable-telemetry`.
See [Telemetry](https://github.com/xbox/cli/blob/main/docs/telemetry.md), the
[Microsoft privacy statement](https://go.microsoft.com/fwlink/?LinkID=824704), and
[PRIVACY.md](https://github.com/xbox/cli/blob/main/PRIVACY.md).

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third parties' policies.

Licensed under the MIT License — see [LICENSE](https://github.com/xbox/cli/blob/main/LICENSE).
