devto login

Authenticate with the devto cloud platform.

Opens your default browser to authenticate with devto via Clerk. After successful authentication, your API key is stored locally.

Usage

bash
devto login

What it does

  • -Opens your browser to the devto authentication page
  • -After sign-in, generates an API key tied to your account
  • -Stores the key at ~/.devto/config.json
  • -Subsequent CLI commands use this key automatically

Example

bash
$ devto login
Opening browser to authenticate...
✓ Authenticated as you@example.com
✓ API key saved to ~/.devto/config.json

Notes

If you are already logged in, running devto login again will replace your existing API key. Your old key will be invalidated.