Skip to main content

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.

The following flags are available for the auth login command:

Anchor to --alias <value>
--alias <value>
string
env: SHOPIFY_FLAG_AUTH_ALIAS

Alias of an existing session you want to use. Required if non interactive.

Anchor to --json-schema
--json-schema
env: SHOPIFY_FLAG_JSON_SCHEMA

Print the command's JSON schemas.

Anchor to --no-color
--no-color
env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

Anchor to --no-input
--no-input
env: SHOPIFY_FLAG_NO_INPUT

Disable interactive prompts and browser authentication.

Anchor to --verbose
--verbose
env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output. May include sensitive data.

Anchor to -j, --json
-j, --json
env: SHOPIFY_FLAG_JSON

Output the result as JSON. Automatically disables color output.

Examples

auth login

shopify auth login [flags]

Was this page helpful?