axm login
Sign in to a registry
Usage
Section titled Usageaxm login [flags]Arguments
Section titled ArgumentsNone.
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--registry | string | No | Registry name or absolute URL; defaults to axm.json defaultRegistry | |
--yes, -y | boolean | No | false | Approve starting a new sign-in when a valid session already exists in advance |
--device-code | boolean | No | false | Sign in with a code; recommended for SSH and headless environments |
--new-account | boolean | No | false | Open account creation when signing in with a browser |
--wait-for-human | integer (at least 1) | No | Wait up to this many seconds for a person to approve in a browser; implies --device-code | |
--restart | boolean | No | false | Replace an existing pending device sign-in intentionally; only with --device-code |
Examples
Section titled ExamplesSign in with a local browser
axm loginCreate an account in a local browser
axm login --new-accountSign in from SSH or a headless machine
axm login --device-codeStart or resume sign-in with a code and wait up to 300 seconds
axm login --device-code --wait-for-human 300 --json