Skip to main content
Version: 3.x

login

Log in to the Saleor Cloud​

login​

$ saleor login --help

Help output:

saleor login

Log in to the Saleor Cloud

Options:
--json Output the data as JSON [boolean] [default: false]
--short Output data as text [boolean] [default: false]
-u, --instance, --url Saleor instance API URL (must start with the protocol, i.e. https:// or http://) [string]
--token use with headless flag, create a token at https://cloud.saleor.io/tokens [string]
--headless login without the need for a browser [boolean] [default: false]
-V, --version Show version number [boolean]
-h, --help Show help [boolean]

Examples:
saleor login
saleor login --headless
saleor login --headless --token=TOKEN

Was this page helpful?