vercel link
The command links your local directory to a Vercel Project.
Using the vercel link command to link the current
directory to a Vercel Project.
Using the vercel link command and supplying a path to
the local directory of the Vercel Project.
These are options that only apply to the command.
The option can be used to link all projects in your repository to their respective Vercel projects in one command. This command requires that your Vercel projects are using the Git integration.
The 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.
Using the vercel link command with the
--yes option.
The option can be used to specify a project name. In non-interactive usage, allows you to set a project name that does not match the name of the current working directory.
Using the vercel link command with the
--project option.
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.
Was this helpful?