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

> ## Agent Instructions
> Use Stable documentation by default. Honor an explicit Beta request or a URL under /docs/beta/. If the requested version conflicts with the installed CLI package or API origin, clarify the target before writing integration code.
> Pages under /docs/beta/ document Beta; other product pages document Stable. Keep the CLI package, commands, API origin, and credentials within the selected version. State the documentation version in your answer.
> For MCP search, always pass version: Stable or version: Beta. Unfiltered search mixes both versions. For filesystem reads, keep Beta queries under /beta/ and exclude /beta/ from Stable queries; discover paths before reading them.
> The public docs base is https://photon.codes/docs. Convert MCP page paths to public URLs under that base, preserving /beta/ when present. Read https://photon.codes/docs/skill.md for version selection and https://photon.codes/docs/llms.txt for the version indexes.

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


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