Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

vercel

Package Overview
Dependencies
Maintainers
3
Versions
890
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vercel

The command-line interface for Vercel

Source
npmnpm
Version
50.12.3
Version published
Weekly downloads
1.5M
6.99%
Maintainers
3
Weekly downloads
 
Created
Source

Vercel

Develop. Preview. Ship.

Join the Vercel Community

Usage

Vercel's frontend cloud gives developers frameworks, workflows, and infrastructure to build a faster, more personalized web.

To install the latest version of Vercel CLI, run this command:

npm i -g vercel

To quickly start a new project, run the following commands:

vercel init     # Pick an example project
cd <PROJECT>    # Change directory to the new project
vercel          # Deploy to the cloud

Finally, connect your Git repository to Vercel and deploy with git push.

Documentation

For details on how to use Vercel CLI, check out our documentation.

Local Development

To develop Vercel CLI, first check out the source code, install dependencies, and build all packages:

git clone https://github.com/vercel/vercel.git
cd vercel
pnpm install
pnpm build

At this point you can make modifications to the CLI source code and test them out locally. The CLI source code is located in the packages/cli directory.

cd packages/cli

pnpm vercel <cli-commands...>

From within the packages/cli directory, you can use the "vercel" script to quickly execute Vercel CLI from its TypeScript source code directly (without having to manually compile first). For example:

pnpm vercel deploy
pnpm vercel whoami
pnpm vercel login
pnpm vercel switch --debug

When you are satisfied with your changes, make a commit and create a pull request!

Full Testing

pnpm vercel executes a locally built dist. Because this dist lives locally in this monorepo, the existence of node_modules can sometimes affect the behavior of how vercel CLI picking up dependencies. To test the full user experience of downloading the CLI from the npm registry:

# build the dist
monorepo_dir=$(pwd)
cd packages/cli && turbo build
# use pnpm pack to create the same tarball that is uploaded to the npm registry
# and store the tarball name in a variable
dist=$(pnpm pack)

# In your test project
cd ~/dev/test-nextjs-proj

npx -p $monorepo_dir/packages/cli/$dist vercel build

FAQs

Package last updated on 06 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts