Build Sundai Linux with Egg Run

Sundai Linux is a recipe, not a download you have to trust: one file, the Eggfile, says everything that goes into the computer. This guide builds it from that file on your own machine, opens it, and shows where to change it for your hack.

Linux ARMLinux x86Apple silicon4 vCPU8 GB RAM3.7 GB downloadFree

Download Egg Run

Egg Run is the app that builds and runs eggs. This downloads its installer.

Install it and sign in

Open the .pkg. It installs Egg Run into Applications and the egg command into your terminal. Open Egg Run and sign in; a free account is enough. The build starts from the Debian 13 base egg, which comes from the hub the first time.

Get the recipe

Clone the repository and step into it.

git clone https://github.com/EggRunAI/sundai-linux.git
cd sundai-linux
FileWhat it is
Eggfilethe recipe: every package, file and setting, in order
welcome/the Welcome window
hacks-README.mdthe note that lands in ~/hacks
sundai.gschema.overridethe desktop's defaults: dock, colours, wallpaper
wallpaper-*.jpg, logo.pngthe look

Build it

One command. It names the egg sundai-linux and builds from the folder you are in.

The build pulls the Debian 13 base (0.7 GB, once), starts a build machine from it, and runs the recipe's 45 steps inside: the desktop, the browsers, Claude and Codex, then the hack kit. Each step prints its number as it starts and ok when it passes. On an Apple Silicon Mac with a fast connection it takes about 13 minutes.

A step that fails stops the build and prints the command and the last lines the machine said. The unfinished egg goes to Egg Run's recycle bin, not onto your desk: fix the line in the Eggfile and run the build again.

Open it

Start the egg from the terminal, or double-click Sundai Linux on the Egg Run desk.

The desktop comes up signed in as sundai, with the Welcome window in front. Press Let's go and it will not return.

Egg – sundai-linux
The Welcome window on the Sundai Linux desktop

Check the kit

Open the terminal from the dock. Everything a one-day build reaches for answers already, and projects go in ~/hacks.

cd ~/hacks
git --version && uv --version && node --version && docker compose version
Egg – sundai-linux
The hack kit answering in the terminal

Nothing is signed in when the egg is built. Claude, Codex, GitHub and VS Code each ask for your own account the first time you use them, and what you type stays inside the egg.

Make it yours

Add what your hack needs to the Eggfile, in the block marked The hack kit. One RUN per thing, with a check after it that can fail, so a broken install stops the build instead of shipping.

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends postgresql-client
RUN psql --version

Then build again under a name of your own and run that one.

egg build --egg my-hack .
egg run my-hack

Never put a key, a token or a password in the Eggfile. Whatever is built into an egg goes to everyone who gets a copy, and it cannot be taken back.

Start over

An egg is a file. When this one is a mess, delete it and build it again; the result is the same computer every time.

egg rm sundai-linux
egg build --egg sundai-linux .

Push your work before you delete an egg: gh repo create --source . --push from your project's folder.