账号注册与配置 #
注册账号 #
方式一:Git 平台授权(推荐) #
Vercel 支持通过 Git 平台快速注册:
text
┌─────────────────────────────────────────┐
│ 选择授权平台 │
├─────────────────────────────────────────┤
│ GitHub → 最常用,功能最完整 │
│ GitLab → 支持 GitLab 用户 │
│ Bitbucket → 支持 Bitbucket 用户 │
└─────────────────────────────────────────┘
注册步骤:
- 访问 vercel.com
- 点击 “Sign Up” 按钮
- 选择 GitHub / GitLab / Bitbucket
- 授权 Vercel 访问你的 Git 账号
- 填写用户名和邮箱
- 完成注册
方式二:邮箱注册 #
text
1. 访问 vercel.com
2. 点击 "Sign Up"
3. 选择 "Continue with Email"
4. 输入邮箱地址
5. 查收验证邮件
6. 设置密码完成注册
方式三:命令行注册 #
bash
npm i -g vercel
vercel login
text
? Log in to Vercel
Continue with GitHub
Continue with GitLab
Continue with Bitbucket
Continue with Email
❯ Continue with GitHub
账户设置 #
个人资料配置 #
进入 Settings → General:
| 设置项 | 说明 |
|---|---|
| Username | 用户名,影响默认域名 |
| 邮箱地址 | |
| Display Name | 显示名称 |
| Profile Picture | 头像 |
安全设置 #
text
Settings → Security
├── Two-Factor Authentication (2FA)
│ └── 推荐启用,增强账户安全
├── Sessions
│ └── 管理登录会话
└── Authentication Tokens
└── 创建 API Token
启用两步验证:
text
1. 进入 Settings → Security
2. 点击 "Enable Two-Factor Authentication"
3. 使用验证器 App 扫描二维码
4. 输入验证码确认
5. 保存备用恢复码
团队管理 #
创建团队 #
text
┌─────────────────────────────────────────┐
│ 团队创建流程 │
├─────────────────────────────────────────┤
│ 1. 点击头像 → Add Team │
│ 2. 输入团队名称 │
│ 3. 选择团队计划 │
│ 4. 邀请成员加入 │
└─────────────────────────────────────────┘
团队角色 #
| 角色 | 权限 |
|---|---|
| Owner | 完全控制,包括计费和删除团队 |
| Member | 部署项目、管理设置 |
| Developer | 部署项目、查看日志 |
| Viewer | 只读访问 |
邀请成员 #
text
Team Settings → Members → Invite
text
┌─────────────────────────────────────────┐
│ Email: teammate@example.com │
│ Role: [Member ▼] │
│ ───────────────────────────────────── │
│ [Send Invitation] │
└─────────────────────────────────────────┘
成员权限对比 #
| 操作 | Owner | Member | Developer | Viewer |
|---|---|---|---|---|
| 删除团队 | ✅ | ❌ | ❌ | ❌ |
| 管理计费 | ✅ | ❌ | ❌ | ❌ |
| 邀请成员 | ✅ | ✅ | ❌ | ❌ |
| 部署项目 | ✅ | ✅ | ✅ | ❌ |
| 查看项目 | ✅ | ✅ | ✅ | ✅ |
计费说明 #
计划类型 #
| 计划 | 价格 | 适用场景 |
|---|---|---|
| Hobby | 免费 | 个人项目、学习 |
| Pro | $20/成员/月 | 专业团队 |
| Enterprise | 定制 | 大型企业 |
免费计划限制 #
text
Hobby 计划:
├── 带宽:100GB/月
├── 构建时长:6000分钟/月
├── Serverless 函数:100GB-Hrs
├── 团队成员:1人(仅个人)
└── 并发构建:1个
Pro 计划优势 #
text
Pro 计划:
├── 带宽:1TB/月
├── 构建时长:无限制
├── Serverless 函数:1000GB-Hrs
├── 团队成员:无限制
├── 并发构建:无限制
├── 优先支持
└── 分析功能
添加支付方式 #
text
Settings → Billing → Payment Methods
支持的支付方式:
- 信用卡(Visa、Mastercard、American Express)
- PayPal
查看用量 #
text
Settings → Billing → Usage
text
┌─────────────────────────────────────────┐
│ 本月用量统计 │
├─────────────────────────────────────────┤
│ Bandwidth ████████░░ 80GB/100GB │
│ Build Minutes ███░░░░░░░ 1800/6000 │
│ Functions ██░░░░░░░░ 20GB-Hrs │
└─────────────────────────────────────────┘
Git 集成配置 #
GitHub 集成 #
text
Settings → Git Provider → GitHub
配置仓库访问权限:
| 选项 | 说明 |
|---|---|
| All Repositories | 访问所有仓库 |
| Only Select Repositories | 仅访问选定仓库 |
GitLab 集成 #
text
Settings → Git Provider → GitLab
支持 GitLab.com 和自托管 GitLab 实例。
Bitbucket 集成 #
text
Settings → Git Provider → Bitbucket
通知设置 #
邮件通知 #
text
Settings → Notifications
├── Deployment Status
│ ├── 部署成功通知
│ └── 部署失败通知
├── Weekly Digest
│ └── 每周项目摘要
└── Marketing
└── 产品更新通知
Slack 集成 #
text
Project Settings → Git → Notifications → Slack
text
1. 点击 "Add Slack Integration"
2. 选择 Slack 工作区
3. 选择通知频道
4. 配置通知事件
CLI 配置 #
安装 Vercel CLI #
bash
npm i -g vercel
登录认证 #
bash
vercel login
查看账户信息 #
bash
vercel whoami
输出示例:
text
> You are logged in as username (username@example.com).
链接项目 #
bash
vercel link
text
? What's your project's name? my-project
? In which directory is your code located? ./
? Want to modify these settings? No
下一步 #
账号配置完成后,接下来学习 第一个项目部署 开始部署你的第一个项目!
最后更新:2026-03-28