To authenticate the Turso CLI with your account, run the following command:

turso auth login

If you’re using Windows with WSL or a remote CI/CD environment, pass the —headless flag.

Flags

FlagDescription
--headlessUseful when the CLI can’t interact with the system’s web browser.