# Phi CLI

Submit work, read results, and manage your organization from the command line.

## Install

```bash
uv tool install dyno-phi
phi auth login
```

## Global options

Put global options before the command, as in `phi --json jobs list`.

| Flag | Value | Description |
|---|---|---|
| `--profile` | PROFILE | Named config profile. |
| `--api` | API | Base URL of the Phi API. |
| `--key` | KEY | API key. |
| `--org` | ORG | Organization ID. |
| `--json` | switch | Emit raw JSON for scripting; place before the command. |
| `--quiet` | switch | Suppress the status footer. |
| `--no-color` | switch | Disable colored output. |
| `--poll-interval` | POLL_INTERVAL, default 2 | Seconds between poll requests. |
| `--debug` | switch | Show full tracebacks on error. |
| `--version` | switch | Show the version and exit. |
| `--install-completion` | switch | Install completion for the current shell. |
| `--show-completion` | switch | Show completion for the current shell, to copy it or customize the installation. |

## Commands

- [phi artifacts](https://dynophi.com/docs/md/cli/artifacts): Manage run artifacts.
- [phi auth](https://dynophi.com/docs/md/cli/auth): Sign in and inspect the active identity.
- [phi billing](https://dynophi.com/docs/md/cli/billing): Credits, loads and auto-reload.
- [phi datasets](https://dynophi.com/docs/md/cli/datasets): Manage datasets.
- [phi export](https://dynophi.com/docs/md/cli/export): Export results.
- [phi jobs](https://dynophi.com/docs/md/cli/jobs): Manage jobs.
- [phi logs](https://dynophi.com/docs/md/cli/logs): Stream and fetch logs.
- [phi models](https://dynophi.com/docs/md/cli/models): Inspect available models.
- [phi projects](https://dynophi.com/docs/md/cli/projects): Manage projects.
- [phi runs](https://dynophi.com/docs/md/cli/runs): Manage runs.
- [phi skills](https://dynophi.com/docs/md/cli/skills): Phi's agent skills: list, show, install.

## phi doctor

Check the base URL, the credential, the version and the PATH, one line each.

```bash
phi doctor
```

## phi quickstart

Run a small end-to-end ESMFOLD job: create a project, submit, wait, and download.

```bash
phi quickstart [options]
```

### Options

| Flag | Value | Description |
|---|---|---|
| `--out` | OUT | Directory for downloaded results. |
| `--dry-run` | switch | Print the plan without submitting or spending credits. |

## phi quota history

```bash
phi quota history [options]
```

### Options

| Flag | Value | Description |
|---|---|---|
| `--limit` | LIMIT, default 50 | Number of ledger entries to show. |

## phi use

Set the active project and/or dataset in .phi/state.json.

```bash
phi use [PROJECT] [options]
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `PROJECT` | Optional | Project id or name to activate. |

### Options

| Flag | Value | Description |
|---|---|---|
| `--dataset, -d` | DATASET | Dataset id to activate. |


---
Source: https://dynophi.com/docs/cli. From the installed client, phi 0.4.2, 2026-11-23.
