| name | vercel-install-auth |
| description | Install Vercel CLI and configure API token authentication.
Use when setting up Vercel for the first time, creating access tokens,
or initializing a project with vercel link.
Trigger with phrases like "install vercel", "setup vercel",
"vercel auth", "configure vercel token", "vercel login".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(npx:*), Bash(vercel:*), Grep |
| version | 1.18.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","vercel","authentication","cli","setup"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Vercel Install & Auth
Overview
Install the Vercel CLI, create a scoped access token, and link your local project to a Vercel project. This skill covers both interactive login and headless CI token authentication via the REST API.
Prerequisites
- Node.js 18+ installed
- npm, pnpm, or yarn available
- A Vercel account (hobby, pro, or enterprise)
Instructions
Step 1: Install Vercel CLI
set -euo pipefail
npm install -g vercel@latest
npm install --save-dev vercel@latest
vercel --version
Step 2: Authenticate — Interactive Login
vercel login
vercel login your@email.com
vercel login --github
vercel login --gitlab
Step 3: Authenticate — Headless Token (CI/CD)
Create a token in the Vercel dashboard at Settings > Tokens or via the API:
export VERCEL_TOKEN="your-access-token-here"
vercel whoami
export VERCEL_ORG_ID="team_xxxxxxxxxxxx"
export VERCEL_PROJECT_ID="prj_xxxxxxxxxxxx"
Step 4: Link Local Project
vercel link
vercel link --project my-project-name
.vercel/project.json