list command shows all your currently active preview deployments, including their URLs, expiration times, and password protection status.
This command requires authentication. Run
sher login first.Usage
Example Output
With active deployments
No active deployments
Understanding the Output
Each deployment shows:The full shareable URL for your deployment
How long until the link expires, shown in hours and minutes (e.g., “22h 15m left”)
A 🔒 icon appears if the deployment is password-protected (Pro feature)
Deployment Information
Each deployment includes:- URL: Direct link to your preview
- Creation date: When the deployment was created
- Expiration time: When the link will expire (calculated from TTL)
- File count: Number of files in the deployment
- Password status: Whether the deployment requires a password
Time Display
Time remaining is displayed as:- Hours and minutes when > 1 hour remaining:
22h 15m left - Minutes only when < 1 hour remaining:
42m left - 0m left when expired (deployment will be removed shortly)
Authentication Required
If you’re not logged in, you’ll see:Related Commands
sher delete- Delete a specific deploymentsher login- Authenticate with GitHubsher link- Create a new deployment