auth login
Logs you in to your Shopify account.
In non-interactive environments, such as CI pipelines or when input is piped from another process, Shopify CLI can't prompt you to choose an account, so you must specify --alias.
Anchor to flagsFlags
The following flags are available for the auth login command:
- Anchor to --alias <value>--alias <value>--alias <value>stringstringenv: SHOPIFY_FLAG_AUTH_ALIASenv: SHOPIFY_FLAG_AUTH_ALIAS
Alias of an existing session you want to use. Required if non interactive.
- Anchor to --json-schema--json-schema--json-schemaenv: SHOPIFY_FLAG_JSON_SCHEMAenv: SHOPIFY_FLAG_JSON_SCHEMA
Print the command's JSON schemas.
- Anchor to --no-color--no-color--no-colorenv: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --no-input--no-input--no-inputenv: SHOPIFY_FLAG_NO_INPUTenv: SHOPIFY_FLAG_NO_INPUT
Disable interactive prompts and browser authentication.
- Anchor to --verbose--verbose--verboseenv: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output. May include sensitive data.
- Anchor to -j, --json-j, --json-j, --jsonenv: SHOPIFY_FLAG_JSONenv: SHOPIFY_FLAG_JSON
Output the result as JSON. Automatically disables color output.
Examples
auth login
shopify auth login [flags]
Examples
Auth login
auth login
shopify auth login [flags]
Was this page helpful?