Skip to Content

vercel init

vercel init


CLI

vercel init


The vercel init command is used to initialize Vercel supported framework examples locally from the examples found in the Vercel examples repository.


Copy page

Using the vercel init command to initialize a Vercel supported framework example locally. You will be prompted with a list of supported frameworks to choose from.

vercel init [framework-name]


These are options that only apply to the vercel init command.

Force

Using the vercel init command to initialize a specific framework example from the Vercel examples repository locally.

vercel init [framework-name] [new-local-directory-name]

Using the vercel init command to initialize a specific Vercel framework example locally and rename the directory.

vercel init--force


The following global options can be passed when using the vercel init command:

vercel initgatsbymy-project-directory--force

The --force option, shorthand -f, is used to forcibly replace an existing local directory.

Using the vercel init command with the--force option.

Using the vercel init command with the--force option.

Last updated May 28, 2026

For more information on global options and their usage, refer to the options section.


Previous

Was this helpful?

Cross-link map: vercel init (/docs/cli/init)From the Vercel docs graph (built 2026-09-21T05:26:59.511Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.jsonSemantically closest pagesvercel dev — Learn how to replicate the Vercel deployment environment locally and test your Vercel Project before deploying using thevercel build — Learn how to build a Vercel Project locally or in your own CI environment using the vercel build CLI command.vercel upgrade — Upgrade the Vercel CLI to the latest version and manage automatic updates with the vercel upgrade CLI command.vercel link — Learn how to link a local directory to a Vercel Project using the vercel link CLI command.Vercel CLI Global Options — Global options are commonly available to use with multiple Vercel CLI commands. Learn about Vercel CLI's global optionsThis page links to (2)Vercel CLI Global Options — Global options are commonly available to use with multiple Vercel CLI commands. Learn about Vercel CLI's global optionsFrameworks on Vercel — Vercel supports a wide range of the most popular frameworks, optimizing how your application builds and runs no matter wPages that link here (16)By site: vercel-kb (8) · vercel-docs (8)From vercel-kbHow to ship an Elysia app on Vercel — Deploy a Elysia app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and coHow to ship an Express app on Vercel — Deploy an Express app to Vercel with zero configuration. Configure response streaming, middleware, cron jobs, the Bun ruHow to ship a FastAPI app on Vercel — Deploy a FastAPI app to Vercel with zero configuration. Learn how the Python runtime, Vercel Functions, streaming, middlHow to ship a Fastify app on Vercel — Deploy a Fastify app to Vercel with zero configuration, then add streaming, lifecycle hooks, cron jobs, and observabilitHow to ship a Flask app on Vercel — Deploy a Flask app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and conHow to ship an H3 app on Vercel — Deploy an H3 app to Vercel with zero configuration. Learn to configure streaming, middleware, cron jobs, the Bun runtimeHow to ship a Hono app on Vercel — Deploy a Hono app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and confHow to ship a Nitro app on Vercel — Deploy a Nitro app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and conFrom vercel-docsVercel CLI Overview — Learn how to use the Vercel command-line interface \(CLI\) to manage and configure your Vercel Projects from the commandElysia on Vercel — Build fast TypeScript backends with Elysia and deploy to Vercel. Learn the project structure, plugins, middleware, and hExpress on Vercel — Deploy Express applications to Vercel with zero configuration. Learn about middleware and Vercel Functions.Deploy a FastAPI app on Vercel — Deploy a FastAPI app on Vercel. Learn how the Python runtime, ASGI, static assets, and Vercel Functions work together.Deploy a Flask app on Vercel — Deploy a Flask app on Vercel. Learn how the Python runtime, WSGI, static assets, and Vercel Functions work together.Hono on Vercel — Deploy Hono applications to Vercel with zero configuration. Learn about observability, ISR, and custom build configuratiNitro on Vercel — Deploy Nitro applications to Vercel with zero configuration. Learn about observability, ISR, and custom build configuratDeploy a Django app on Vercel — Deploy a Django app on Vercel. Learn how the Python runtime, WSGI, ASGI, static assets, and Vercel Functions work togeth