- name
- vercel-cli
- description
- Vercel CLI skill for deploying and managing Vercel projects from the terminal.
- metadata
- {"openclaw":{"emoji":"▲"}}
Vercel CLI
Vercel CLI skill for deploying and managing Vercel projects from the terminal. Use when the user wants to deploy, list, inspect, rollback, or manage Vercel deployments; configure domains, SSL certificates, environment variables; manage teams or view usage; or needs help with vercel CLI commands.
Environment Setup
Install Vercel CLI:
pnpm i -g vercelUpdate:
pnpm i -g vercel@latestVerify Version:
vercel --versionAuthentication
Interactive Login:
vercel loginCI/CD Environment (Recommended):
- Create an access token on the Tokens page
- Set the
VERCEL_TOKENenvironment variable
Prefer using theVERCEL_TOKENenvironment variable over the--tokenflag to avoid exposing the token in process lists or logs.
Core Workflows
Deployment
vercel # Deploy to preview environment
vercel deploy --prod # Deploy to production environment
vercel build # Build locally
vercel dev # Develop locally simulating Vercel environmentProject Linking
vercel init # Initialize from official template
vercel link # Link local directory to Vercel project
vercel pull # Pull remote environment variables to localDeployment Management
vercel list [project] # List recent deployments
vercel inspect [url/id] # View deployment details (add --logs for build logs)
vercel logs [url] # View runtime logs (--follow for real-time tracking)
vercel promote [url/id] # Promote specified deployment to production
vercel redeploy [url/id] # Rebuild and redeploy
vercel rollback # Rollback production environment
vercel remove [url] # Remove deployment or project
vercel bisect # Bisect to locate problematic deploymentDomains and Certificates
vercel alias set [url] [domain] # Set custom domain
vercel alias rm [domain] # Remove domain alias
vercel domains ls # List domains
vercel domains add [domain] # Add domain
vercel certs ls # List SSL certificates
vercel certs issue [domain] # Issue certificate for domainEnvironment Variables
vercel env ls # List environment variables
vercel env add [name] [env] # Add (env optional: production/preview/development)
vercel env rm [name] [env] # Remove environment variable
vercel env pull [file] # Pull to local fileAccount and Teams
vercel whoami # Current logged-in username
vercel teams list # List teams
vercel switch [team] # Switch team
vercel usage # View usage and billingAdvanced Tools
vercel api [endpoint] # Make authenticated API request (Beta)
vercel curl [path] # HTTP request (Beta)
vercel cache purge # Purge CDN cache
vercel blob # Vercel Blob storage operations
vercel integration # Manage integrations
vercel mcp # MCP client configurationKey Notes
- Most commands support
--helpfor detailed parameters:vercel help [command] vercelis equivalent tovercel deploy--prod/--productionflag deploys to production environment--followforlogscommand enables real-time log tracking- Use
VERCEL_TOKENenvironment variable for automated authentication; do not expose token on the command line
Reference Documentation
- REST API: https://vercel.com/docs/rest-api
- Create Token: https://vercel.com/account/tokens
- See
references/commands.mdfor detailed command parameter descriptions