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.
How to Eject
Section titled “How to Eject”- Navigate to your project settings
- Select the Eject Code option
- Download the zip file containing your complete Next.js application
Running Your Ejected Code
Section titled “Running Your Ejected Code”After extracting the zip file, run the following commands to start your Next.js development server:
yarn && yarn run devThis will install all dependencies and start the development server.
Runtime Differences
Section titled “Runtime Differences”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.