vercel init
Learn how to initialize example Vercel Projects locally using the vercel init CLI command.Table of Contents
The vercel init
command is used to initialize Vercel Projects locally from the examples found in the Vercel examples repository.
terminal
vercel init
terminal
vercel init [project-name]
terminal
vercel init [project-name] [new-project-name]
These are options that only apply to the vercel env
command.
The --force
option, shorthand -f
, is used to forcibly replace an existing local directory.
terminal
vercel init --force
terminal
vercel init gatsby my-project-directory --force
The following global options can be passed when using the vercel init
command:
For more information on global options and their usage, refer to the options section.
Last updated on October 4, 2024
Was this helpful?