1 min read
vercel link
Learn how to link a local directory to a Vercel Project using the vercel link CLI command.Table of Contents
The vercel link
command links your local directory to a Vercel Project.
terminal
vercel link
terminal
vercel link [path-to-directory]
These are options that only apply to the vercel link
command.
The --yes
option can be used to skip questions you are asked when setting up a new Vercel Project.
The questions will be answered with the default scope and current directory for the Vercel Project name and location.
terminal
vercel link --yes
The following global options can be passed when using the vercel link
command:
For more information on global options and their usage, refer to the options section.
Last updated on February 8, 2023
Was this helpful?