Skip to content

Export Code

You can eject your code at any time, which will return a zip file of a Next.js application. This allows you to take full ownership of your project and continue development locally or deploy to your own infrastructure.

  1. Navigate to your project settings
  2. Select the Eject Code option
  3. Download the zip file containing your complete Next.js application

After extracting the zip file, run the following commands to start your Next.js development server:

Terminal window
yarn && yarn run dev

This will install all dependencies and start the development server.

Since we host and run your code in a Next.js sandbox environment, there might be errors due to different runtime environments when running locally. Most issues should be easily resolved with the assistance of a local code editor such as Claude Code or Codex.

Common differences to be aware of:

  • Environment variables may need to be configured locally
  • Some sandbox-specific APIs may need adjustment
  • Package versions might differ slightly

These are typically minor adjustments that can be quickly addressed with AI-assisted code editing tools.