Skills

Install the official vercel CLI first, then talk about deploy

Install the Vercel CLI with the official global command before you enter deploy. Do not run git push on the first attempt.

Official source · vercel/vercel

Install

npm i -g vercel

Who it is for

This skill fits people who want to hand a modern app to the unified Vercel platform and manage less infrastructure themselves. Officially it is written as AI Cloud: teams can move with flexibility, speed, and safety, and keep attention on the product rather than infrastructure. It also fits people ready to install the official command line on this machine and accept one global package install.

It does not fit people who are not ready to push code to a remote and still treat “deploy” as step one. The source says you then deploy with git push, which sends a commit to the remote. If you cannot run npm yet, or cannot accept a global install of the vercel package, stay with reading the notes.

The official repository is https://github.com/vercel/vercel Operate with commands already written on that page. The repository itself is a monorepo: one repository holds multiple npm packages. Do not treat it as a single-app directory when you change it.

First attempt in 3 minutes

Follow only this command-line install path the official page writes.

Prerequisite: this machine can run npm, and you clearly agree to one global install. First confirm: npm i -g vercel will install vercel globally. If you do not yet want to change global packages on this machine, do not run it. Do not git push in this step.

Install location: in any terminal, confirm the side effects above, then run:

npm i -g vercel

Low-risk check: after install ends, only confirm the global command is available. Do not import a project, do not pick a template, do not push. If the source does not write a version-check switch, do not invent extra subcommands; confirming the install finished is enough.

Success signal: the global install finished cleanly and the official vercel npm package is on this machine. If the installer tells you to switch to a separately distributed native binary, stop — the source says those binaries are distributed separately and do not affect the vercel npm package. Do not merge the two lines into one main path.

Usage cases

Case 1: Install the official command line on this machine as preparation before you import a project or pick a template. The official command is npm i -g vercel. It fits people who first want an inspectable install result and are not ready to deploy. Installing writes a global directory; confirm before you run it.

Case 2: After the project is already attached to the platform, deploy with git push. The source says then git push is enough to deploy. It fits people whose local commit is already checked and who clearly agree to push to the remote. Before pushing, confirm the current branch and the remote target. The source does not write commands that distinguish preview from production; do not invent a release switch.

Boundaries

Only one official install command is written in the source: npm i -g vercel. Do not write an unappeared installer into the main path. Native CLI binaries are distributed separately and do not affect the vercel npm package; if you have not seen a concrete install sentence, do not invent a native package name.

git push deploys; it is an operation with side effects and cannot be treated as a read-only check. The platform is written as a unified AI Cloud for building modern apps, but secrets, project-import steps, and the template list are not expanded in the source; do not fill them in.

If you opened this source repository, remember it is a monorepo: one repository contains multiple npm packages. Do not change the root as if it were a single-package app. The official page is https://github.com/vercel/vercel If a tool suggests a command that disagrees with that page, treat that page as authoritative.