# devices

> Your devices for end-to-end encrypted session sync: pair this computer so its nexus claude and nexus codex sessions show in Nexus UI, and revoke a device.

Your devices for end-to-end encrypted session sync: pair this computer so its nexus claude and nexus codex sessions show in Nexus UI, and revoke a device.

## nexus devices list

```sh
nexus devices list [--json]
```

Your devices for encrypted session sync, oldest first: this computer, each one's state and pairing code.

| Option | Meaning |
| --- | --- |
| `--json` | Print only JSON on stdout |

## nexus devices pair

```sh
nexus devices pair [--name N] [--new] [--no-wait] [--approver-code C] [--json]
```

Make this computer a trusted device: it shows a code and a QR code, and you approve it from a trusted device (Settings › Devices in Nexus UI or the desktop app). Then confirm the approver's code: sync starts only after that.

| Option | Meaning |
| --- | --- |
| `--name <N>` | This computer's name in your devices (default: nexus CLI on <hostname>) |
| `--new` | Forget this computer's key and pair a new one |
| `--no-wait` | Show the code and return without waiting for the approval |
| `--approver-code <C>` | Confirm the approver without a prompt: the code its own screen shows |
| `--json` | Print only JSON on stdout |

```sh
nexus devices pair
```

## nexus devices revoke

```sh
nexus devices revoke <device-id> [--yes]
```

Revoke a device with this computer's key: it gets no key for anything new. Revoking this computer also deletes its key.

| Option | Meaning |
| --- | --- |
| `--yes` | Revoke without asking |

```sh
nexus devices revoke dev_…
```

## nexus devices org-key

```sh
nexus devices org-key [--fingerprint F] [--vault-public-key FILE] [--json]
```

Your org's recovery key: compare its fingerprint with the one computed from your vault, then confirm it here. Your synced sessions are also locked for it when your org chooses so.

| Option | Meaning |
| --- | --- |
| `--fingerprint <F>` | Confirm your org's recovery key without a prompt: the fingerprint computed from your vault |
| `--vault-public-key <FILE>` | Compute a fingerprint offline from your vault's X25519 public-key export, raw 32 bytes or base64url |
| `--json` | Print only JSON on stdout |

## nexus devices control

```sh
nexus devices control [on|off] [--json]
```

Phone control for this computer's `nexus claude` and `nexus codex` sessions: off until you turn it on. With no setting, says where it stands.

| Option | Meaning |
| --- | --- |
| `--json` | Print only JSON on stdout |
