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.

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.