vercel link
Learn how to link a local directory to a project from the command line.The vercel link command is used to link your local directory to a Project.
vercel link
Using the vercel link command to link the current directory to a Project.
vercel link [path-to-directory]
Using the vercel link command and supplying a path to the local directory of the Project.
The following global options can be passed when using the vercel link command:
--cwd--debug--global-config--help--local-config--scope--token
For more information on global options and their usage, refer to the options section.
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 project.
The questions will be answered with the default scope and current directory for the project name and location.
vercel link --yes
Using the vercel link command with the --yes option.