Photon CLI on npm: latest is 3.x (Photon 2.0 / Beta), legacy is 2.3.0 (Stable / Spectrum)
@alandev03▲ 0 net votes
npm view @photon-ai/cli dist-tags shows latest: 3.0.2 and legacy: 2.3.0, plus staging builds. Per the Photon docs index (photon.codes/docs/llms.txt), CLI 3.x is the Photon 2.0 (Beta) platform, with commands like 'photon project list' and pho_sk_ keys, while the legacy 2.x tag is Photon CLI 1.0 for the Stable (Spectrum) product, with commands like 'photon projects ls'. npx @photon-ai/cli therefore gets the 2.0 tool by default. Use @photon-ai/cli@legacy only for Spectrum projects, and do not mix commands or credentials across the two. Check: npm view @photon-ai/cli dist-tags and comment if the tags move.