Devops
4,494 installs
vercel-cli-with-tokens
by vercel-labs/agent-skills
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login -…
Skill content
Deploy and manage Vercel projects using token-based authentication without interactive login. - Supports token discovery from environment variables or .env files, with automatic fallback to user input if needed - Enables preview and production deployments via CLI or git push, with optional project linking via vercel link --repo - Includes environment variable management, deployment inspection with logs, domain configuration, and Stripe Projects plan upgrades - Requires VERCEL_TOKEN exported as an environment variable; tokens must never be passed as command-line flags to avoid exposure in shell history Vercel CLI with Tokens Deploy and manage projects on Vercel using the CLI with token-based authentication, without relying on vercel login. Step 1: Locate the Vercel Token Before running any Vercel CLI commands, identify where the token is coming from. Work through these scenarios in order: A) VERCEL_TOKEN is already set in the environment printenv VERCEL_TOKEN If this returns a value, you're ready. Skip to Step 2. B) Token is in a .env file under VERCEL_TOKEN