The Allegory CLI builds and manages your scenes from any terminal — for you, or for a coding agent. It needs Node 20 or later and has no dependencies.
Sign in. allegory login prints a link and a code. Open the link in any browser, on any machine, and approve; this works over ssh and in containers (--no-browser stops it opening one). allegory whoami shows who you are; allegory logout revokes the token.
Accounts. Every command runs against one of your Allegory accounts. allegory accounts lists them with your role; allegory use "Acme Studio" sets the default, or pass --account 12 once.
Commands are allegory <resource> <action>: scenes, entities, components, scripts, activity and account. The list comes from AllegoryXR itself, so allegory help always shows what your account can run today. Add --json for machine-readable output.
Deleting asks you to type the name or id first; in scripts and agents it is refused unless you pass --yes. Deleting needs the owner or an admin role.
Full reference: allegoryxr on npm.