Sign in
arkor login, logout, whoami.
You can use Arkor anonymously without ever signing in: arkor dev bootstraps an anonymous identity for you on first launch. To tie work to your Arkor Cloud account instead, use arkor login.
Sign in
The CLI prompts you to pick OAuth (browser) or Anonymous. Pick OAuth to sign in to your Arkor Cloud account; the CLI opens a browser, you authorize, and credentials land in ~/.arkor/credentials.json.
To skip the picker:
pnpm arkor login --oauthnpm arkor login --oauthyarn arkor login --oauthyarn run arkor login --oauthbun arkor login --oauthIn CI, use --anonymous instead; OAuth needs a browser.
Check who you are
pnpm arkor whoaminpm arkor whoamiyarn arkor whoamiyarn run arkor whoamibun arkor whoamiPrints the current identity and the orgs you can reach.
Sign out
arkor logout asks before deleting ~/.arkor/credentials.json, and the confirmation defaults to No. For anonymous credentials, deleting the file permanently loses access to that anonymous identity unless you backed it up yourself; the next arkor dev will bootstrap a fresh anonymous identity. OAuth users can run arkor login --oauth again.
Reference
For the full picker / flag matrix, the anonymous-vs-OAuth tradeoffs, token expiry behavior, and every error message, see the auth reference.