FeaturesCommunityGuidesUse casesCompareToolsBlogPricing
Orlume logo

How do I export or download my v0 project code?

How to export code from v0: download a ZIP or sync to GitHub, then run it locally or deploy it. Plus the setup problems people hit after exporting.

The short answer

You can take your code out of v0 in two main ways: download the project as a ZIP file, or connect GitHub so v0 syncs the code to a repository. GitHub sync is included even on the free plan, as of October 2026. Once exported, it is a standard Next.js project: install dependencies, add your environment variables and run it locally or deploy it anywhere that hosts Next.js.

  • ZIP download and GitHub sync are the two main export routes.
  • GitHub sync is on every plan, including Free, per v0's pricing page.
  • The older one-line shadcn CLI copy link was reported missing from the new v0 interface in early 2026.
  • Expect to set environment variables and fix missing components after export.

01Option 1: Download the project as a ZIP

The simplest route is downloading the whole project. In early 2026, when users asked in Vercel's community forum where the old "add to codebase" command had gone, Vercel staff pointed them to the Download ZIP option in the new interface.

  1. 1Open the project in v0Use the menu on the project or chat to find the download option.
  2. 2Download the ZIPIt contains the full Next.js project: pages, components and configuration.
  3. 3Unzip and installOpen the folder in a terminal and install dependencies with your package manager (npm install, for example).
  4. 4Run it locallyStart the development server and open it in your browser to check everything renders.

02Option 2: Sync to GitHub

Connecting GitHub keeps your code in a repository that you own, and it means later changes in v0 can flow into the repo instead of requiring a fresh download each time. v0's pricing page lists GitHub sync on the free plan as well as paid plans.

GitHub is the better choice if you plan to keep iterating in v0 while also editing code elsewhere, or if anyone else will work on the project. It also makes deploying to Vercel, Netlify or another host a matter of connecting the repository.

ZIP or GitHub?
ZIP downloadGitHub sync
Best forOne-off handoverOngoing work
Keeps historyNoYes
Later v0 changesDownload againFlow into the repo
Deploying elsewhereUpload manuallyConnect the repository

03What about the shadcn CLI command?

v0 used to offer a command that added generated components straight into an existing codebase through the shadcn CLI. In January and February 2026, users in Vercel's community forum reported that the link no longer appeared in the new interface, and staff suggested downloading the ZIP instead. If you want to move individual components into a project you already have, copying the component files from the download works.

04Problems people hit after exporting

Exported projects usually run, but a few issues come up often enough to plan for.

  • Missing environment variables: API keys and database URLs set in v0 or Vercel are not in the ZIP. Add them to a local .env file and to your host.
  • Missing UI components: generated code can reference shadcn/ui components that were not included; install them with the shadcn CLI.
  • Version mismatches: run the dependency install fresh rather than reusing an old lockfile from another project.
  • Images and assets: check that files referenced by URL still load outside v0's preview.

05Where to host the exported code

Because v0 produces Next.js, Vercel is the path of least resistance, but any host that supports Next.js works. Vercel vs Netlify and Cloudflare Pages vs Vercel compare the main options, and both Vercel and Netlify have free tiers for small sites.

Owning the code is the main reason to export. Do I own a website made with AI? covers the ownership question for AI-built sites generally.

06Moving v0 components into an existing project

If you already have a Next.js app and only want a few screens from v0, you do not need the whole exported project. Copy the component files you want into your components folder, then check three things: that the shadcn/ui components they import exist in your project (install any missing ones with the shadcn CLI), that your Tailwind configuration includes the same theme values, and that any icons or utilities they use are installed.

Expect some adjustment. Generated components often assume their own layout wrapper and global styles, so spacing and colors can shift once they sit inside your app's design system. Treat them as a strong first draft and align them with your existing conventions rather than adapting your app to them.

  • Copy only the components you need, not the whole app shell.
  • Install missing shadcn/ui components with the CLI.
  • Match Tailwind theme values so colors and spacing line up.
  • Rename and restructure to fit your project's conventions.

What people who tried it say

Developers on Hacker News who use v0 mostly treat it as a starting point: generate the interface, then move the code into their own project and finish it there, fixing responsive details and metadata along the way.

Looking for more first-hand opinions? Search Reddit for “how to export code from v0”. We link the live threads rather than summarizing them, so you read them in full.

Our take

connect GitHub on day one, even for a throwaway project. It costs nothing, keeps a history of every change, and turns "export" from a chore into something that has already happened.

Where this falls short

v0's interface changes frequently, and export options have moved around; the shadcn CLI link is a recent example. Steps here reflect v0's pricing page and Vercel community answers from 2026, not official step-by-step docs.

Sources

  1. 1.v0 pricing · Vercel
  2. 2.v0 "Add to Codebase" feature missing or changed to shadcn CLI · Vercel Community
  3. 3.v0 UI missing shadcn CLI link for project codebase copy · Vercel Community

Orlume logoResearched and written by the Orlume team · Updated October 2026

More on ai website builders

All 12 ai website builders questions →
Questions

People also ask.

More on how to export code from v0, answered briefly.

Can I download my code from v0 for free?

Yes. The free plan includes GitHub sync, and projects can be downloaded as a ZIP, as of October 2026.

Does v0 code work without Vercel?

Yes. It is a standard Next.js project that runs locally and on any host that supports Next.js.

Why doesn't my exported v0 project run?

Usually missing environment variables or UI components. Add your keys to a .env file and install any missing shadcn components.

Can I keep editing in v0 after exporting?

Yes. With GitHub sync, changes made in v0 can flow into your repository alongside edits made elsewhere.

Orlume logoStill stuck? Email us
Orlume logo

Build something that doesn't look AI-made.

Describe the site you want. Watch it get designed, not just generated. Then publish it to its own orlume.site address.

  • Free to start
  • No card required
  • Publish to a live URL
  • You own the code