vercel pull command is used to store Environment Variables and Project Settings in a local cache (under
.vercel/.env.$target.local.) for offline use of
vercel build and
vercel dev. If you aren't using those commands, you don't need to run
When environment variables or project settings are updated on Vercel, remember to use
vercel pull again to update your local environment variable and project settings values under
vercel pull --environment=preview
vercel pull --environment=preview --git-branch=feature-branch
vercel pull --environment=production
These are options that only apply to the
vercel pull command.
--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.
vercel pull --yes
The following global options can be passed when using the
vercel pull command:
For more information on global options and their usage, refer to the options section.