← 返回
未分类 Key

Vercel CLI

Vercel CLI skill for deploying and managing Vercel projects from the terminal.
用于在终端部署和管理 Vercel 项目的 Vercel CLI 技能。
openlark openlark 来源
未分类 clawhub v1.0.2 2 版本 100000 Key: 需要
★ 0
Stars
📥 458
下载
💾 1
安装
2
版本
#latest

概述

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 vercel

Update:

pnpm i -g vercel@latest

Verify Version:

vercel --version

Authentication

Interactive Login:

vercel login

CI/CD Environment (Recommended):

  1. Create an access token on the Tokens page
  2. Set the VERCEL_TOKEN environment variable

> Prefer using the VERCEL_TOKEN environment variable over the --token flag 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 environment

Project Linking

vercel init                 # Initialize from official template
vercel link                 # Link local directory to Vercel project
vercel pull                 # Pull remote environment variables to local

Deployment 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 deployment

Domains 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 domain

Environment 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 file

Account and Teams

vercel whoami                    # Current logged-in username
vercel teams list                # List teams
vercel switch [team]             # Switch team
vercel usage                     # View usage and billing

Advanced 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 configuration

Key Notes

  • Most commands support --help for detailed parameters: vercel help [command]
  • vercel is equivalent to vercel deploy
  • --prod / --production flag deploys to production environment
  • --follow for logs command enables real-time log tracking
  • Use VERCEL_TOKEN environment variable for automated authentication; do not expose token on the command line

Reference Documentation

  • See references/commands.md for detailed command parameter descriptions

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-05-31 13:28
  • v1.0.0
    2026-05-07 07:29 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

Toutiao Graphic Publisher

openlark
通过浏览器自动化在头条发布图文内容,支持智能排版、自动生成热门标签等功能。
★ 2 📥 957

Sqlite Client

openlark
SQLite 数据库操作技能。当用户需要创建、读取、查询或修改 SQLite 数据库(.db 文件)时使用。
★ 0 📥 682

Text Summarizer

openlark
抽取式AI文本摘要工具,自动使用TextRank+TF‑IDF混合算法从任意文本中提取最重要的句子。
★ 0 📥 718