> **Photon Beta documentation**
> Browse all pages: https://photon.codes/docs/beta/llms.txt
> Search Beta docs via MCP: https://photon.codes/docs/beta/mcp (OAuth REST API MCP: https://mcp.photon.codes/mcp)

# photon

> Photon CLI for Node.js and standalone binaries, built with Gunshi.

Generated from `@photon-ai/cli` `3.0.1`.

Photon CLI for Node.js and standalone binaries, built with Gunshi.

## Commands

* [photon account](/docs/beta/cli/reference/account.md) — Inspect and manage the Photon account
* [photon auth](/docs/beta/cli/reference/auth.md) — Inspect and manage Photon authentication
* [photon complete](/docs/beta/cli/reference/complete.md) — Generate shell completion script
* [photon link](/docs/beta/cli/reference/link.md) — Save a project for this folder in .photon/project.json
* [photon login](/docs/beta/cli/reference/login.md) — Log in with a device code or account service key
* [photon logout](/docs/beta/cli/reference/logout.md) — Remove the local Photon session
* [photon operation](/docs/beta/cli/reference/operation.md) — Inspect and recover local operations
* [photon org](/docs/beta/cli/reference/org.md) — Manage Photon organizations
* [photon project](/docs/beta/cli/reference/project.md) — Manage Photon projects
* [photon unlink](/docs/beta/cli/reference/unlink.md) — Remove the nearest .photon/project.json
* [photon update](/docs/beta/cli/reference/update.md) — Update the Photon CLI to the newest version
* [photon whoami](/docs/beta/cli/reference/whoami.md) — Show the canonical authenticated Photon account

## Options

| Flag | Description | Details |
| --- | --- | --- |
| `--color / --no-color` | Use color in terminal output | Global; Type: boolean; Default: `true` |
| `--debug` | Include sanitized HTTP and error diagnostics | Global; Type: boolean; Default: `false` |
| `-h, --help` | Display this help message | Global; Type: boolean |
| `--json` | Emit stable JSON instead of human-readable output | Global; Type: boolean; Default: `false` |
| `--no-input` | Never ask a question; fail and name the flag instead | Global; Type: boolean; Default: `false` |
| `--org <string>` | Organization ID for this command (or set PHOTON_ORGANIZATION_ID) | Global; Type: string |
| `--project <string>` | Project ID for this command (or set PHOTON_PROJECT_ID) | Global; Type: string |
| `-v, --version` | Display this version | Global; Type: boolean |
