axon login

Authenticate this machine.

axon login

Opens a browser to approve, then stores credentials in ~/.axon/auth.json. Required before deploy and publish; browsing the registry and running agents locally need no account.

axon whoami     # print the authenticated account
axon logout     # clear stored credentials

whoami is the fastest way to check which identity a publish would go out under, which matters when the scope in package.json must be one you own.

Options

FlagDefaultDescription
--jsonfalsePrint one line of JSON to stdout and nothing else

logout

Clears the stored credential for the active profile. The profile itself, its agents and their sessions all stay — only the token goes.

axon logout

whoami

Prints the account this machine is authenticated as.

axon whoami

update

axon update

Updates the Axon CLI itself. Unrelated to authentication, but it lives here because it is the other thing you do to the installation rather than to a project.