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 loginWhat 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 loginOpening browser to authenticate...✓ Authenticated as you@example.com✓ API key saved to ~/.devto/config.jsonNotes
If you are already logged in, running devto login again will replace your existing API key. Your old key will be invalidated.