vercel

33.6.1 • Public • Published

Vercel

Develop. Preview. Ship.

Join the community on GitHub Discussions

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 dev <cli-commands...>

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

pnpm dev deploy
pnpm dev whoami
pnpm dev login
pnpm dev switch --debug

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

Readme

Keywords

none

Package Sidebar

Install

npm i vercel

Homepage

vercel.com

Weekly Downloads

567,629

Version

33.6.1

License

Apache-2.0

Unpacked Size

9.08 MB

Total Files

7

Last publish

Collaborators

  • matt.straka
  • ijjk
  • quietshu
  • vercel-release-bot
  • nick.tracey
  • matheuss
  • chriswdmr
  • rauchg
  • snokohn
  • zeit-bot