Login Command
The login command authenticates you with DepFixer using a secure device code flow.Usage
How It Works
1. Generate Code
DepFixer generates a unique code for your device:2. Browser Authorization
Your browser opens to the verification page where you:- Enter the code (auto-filled if you clicked the link)
- Log in or create an account
- Approve the CLI access
3. CLI Confirmation
Once approved, the CLI confirms:Token Storage
Credentials are stored securely at:0600 (owner read/write only).
Token Refresh
Tokens are automatically refreshed when:- Access token expires (1 hour lifetime)
- You run any authenticated command
- You explicitly log out
- Refresh token expires (30 days)
- You revoke access from the web dashboard
Troubleshooting
Browser Doesn’t Open
Manually visit the URL shown in the terminal and enter the code.Code Expired
Codes expire after 15 minutes. Runnpx depfixer login again.
Already Logged In
If you’re already logged in, you’ll see your account info. Log out first withnpx depfixer logout if you need to switch accounts.