whoami command displays your current authentication status and subscription tier.
Usage
Example Output
Starter (Free) tier
Pro tier
Not logged in
What Information Is Shown
Your GitHub username that you authenticated with
Your current subscription tier:
- Starter (free): Free tier with basic limits
- Pro: Paid tier with higher limits and extra features
If you’re on the free tier, a helpful reminder about upgrading to Pro
Subscription Tiers
Starter (Free)
Free tier available after runningsher login:
- 25 links per day
- 50MB max upload size
- 24-hour max TTL
- List and delete deployments
Pro
Paid tier at $8/month viasher upgrade:
- 200 links per day
- 100MB max upload size
- 168-hour (7-day) max TTL
- Password protection
- All Starter features
Use Cases
Check authentication
Verify you’re logged in before using authenticated commands:Confirm tier after upgrade
After upgrading to Pro, confirm your subscription:Troubleshoot limits
If you’re hitting rate limits, check your tier:Offline Behavior
If the API server is unreachable,whoami will still show your username:
Authentication Storage
Your authentication is stored locally in:- Your authentication token
- Your GitHub username
Related Commands
sher login- Authenticate with GitHubsher logout- Remove stored credentialssher upgrade- Upgrade to Pro