allyhub auth login
Sign this computer in to AllyHub, for the cloud tools; once per computer, shared with AllyHub Studio
allyhub auth login [options]Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--wait |
boolean | Wait here for the browser (default in a terminal); –no-wait waits 5 minutes in the background and returns at once (default for an agent), then allyhub auth status says when it is done | |
--no-browser |
boolean | true |
Open the browser; –no-browser only prints the address |
--device |
boolean | false |
Sign in with a code entered in a browser elsewhere (RFC 8628’s device flow), for a computer with no browser of its own |
Global options
Section titled “Global options”--json: print the result as JSON.
Output
Section titled “Output”With --json, the command prints an object with these fields:
| Field | Type | What it is |
|---|---|---|
status |
signed-in, waiting |
|
email |
string | |
url |
string | |
hosts |
object |
Examples
Section titled “Examples”allyhub auth loginallyhub auth login --no-wait --no-browserallyhub auth login --deviceExit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”setup: This computer, the account and AllyHub’s skills
skills → skills show → auth login → auth status → orgs list → orgs use → doctor → doctor extensions