Skip to the desktop

Fig. 1 · Joshua Tree, booting live in your browser Tap to look around.

See the desktop

A computer, from scratch.

Free and open source. Runs on a Raspberry Pi, a PC, or right here.

Try it in your browserDownload for PC

joshua@tree %

The Joshua Tree desktop with the Terminal and live Weather open, and running-app dots in the dock

Everything you need is already there.

Built from nothing but a screen and a keyboard.

A desktop that keeps up with you.

Filmed on the Pi build, nothing staged.

Spaces. Four desktops. Ctrl and an arrow moves between them, and every window stays where you left it.

Mission Control. Ctrl and Up shows every desktop and every open window. Pick one and you are there.

Spotlight. Cmd and Space, a few letters, Enter. Any app is a second away.

Launchpad. Every app in one grid, from the first tile in the dock. The arrow keys walk it.

Updates over the air. Type update. It installs only a release with a valid signature, and if the new one fails to start, the Pi goes back to the one that worked.

Bluetooth. bt scan, bt pair. Mice, keyboards and headphones pair once and come back on their own.

Samantha builds apps. Ask for an app and she writes it, reads the compiler's errors, fixes them, and the Pi builds and opens it.

One app crashes. The desktop stays up.

Each app runs as its own protected program, walled off from the kernel and from every other app. 38 of the 38 run that way now. Every app is out of the kernel.

On a real Raspberry Pi.

The same desktop, on a board you can hold.

Its own graphics chip. Joshua Tree wakes the Pi's GPU and hands it work by itself, with no driver from anyone else. It is the first step to a desktop the GPU draws.

Updates over the air. Type update and it fetches the newest release, checks its signature and restarts into it. Your Wi-Fi and keys stay on the card.

Drive it from your Mac. Type bench once and your Mac can type, click and take a picture of the screen. Testing a board needs no second keyboard.

Print and scan. Send a note to any AirPrint printer, or scan a page straight into Photos. It finds the printer on the network by itself.

Wi-Fi, Bluetooth and sound. It joins your network, pairs mice, keyboards and headphones, and plays the music you own.

Next: a 64-bit PC. The same OS on the PC under your desk. Its 64-bit kernel already boots; the desktop comes next.

Put it on your own Pi

Tech specs

Measured, not promised.

Performance

Fast on nothing.

Measured headless in QEMU on a Mac Mini M4 by tools/bench.sh. Refreshed with every release. Every run, in full.

270msBoot to shell
225ns/opAlloc + free
769MB/smemcpy
3236ns/switchContext switch
10253KB/sDisk read
Architecture
Kernel
A freestanding kernel for PCs (i386) and the Raspberry Pi 4 (ARM64). No libc, and no dependencies beyond the toolchain.
Apps
38 built in, 38 of them running as their own protected programs at ring 3.
Build
Toolchain
Stock clang and ld.lld, cross-compiling straight to i386. No cross-toolchain to install.
Runs on
QEMU, a real PC from a USB stick, or a Raspberry Pi 4 from an SD card.
Commands
make builds kernel.elf. make run boots it. ./check.sh is the boot test.
Read more
Testing
Documentation

Every source file has an entry in the architecture guide. Read it.

History

From a blank screen on Aug 31 to 38 apps today.

38190Aug 31Sep 14Sep 20Sep 29Oct 4Oct 9Oct 18Oct 2838 apps · 100% documented

Next up: a demo that talks you through it, icons that match, and photos, games and voice notes.

Want one?

A Pi 4 that boots straight to the desktop. Leave your email and we'll tell you when it ships.

Joshua Tree 13 on a Pi, and Nimbus, the small square computer it ends on: a Pi 4 and a screen in a printed shell. Not for sale yet, but you can build one yourself.

Build one yourself.

Two printed shells, a Pi 4, a small screen and six screws. Free plans, at full size.

Blueprint of the Nimbus front: 236 by 230 millimetres, the screen opening and the SD card slot Blueprint of Nimbus taken apart: the front shell and the back cover
  1. Glue the glass to the ledge.Front shell face down on a soft cloth. Run foam tape round the 2 mm ledge and lay the 194 x 110 mm glass in the opening.
  2. Seat the display.Tape the screen to the back of the glass, driver board in the middle. Keep its ribbon and power leads free.
  3. Screw the Pi down.Four M2.5 x 6 screws into the standoffs on the floor, USB end toward the back.
  4. Fit the back ports.Push the two USB-C extenders and the jack into the strip on the back cover. Plug them into the Pi and the screen, and run the SD extender out of the front slot.
  5. Close the case.Fold the cables in and bring the back cover onto the lip. Turn it over and drive the two M3 x 12 screws up through the foot.
  6. Fill the mark.Press the terracotta line into its groove under the tree on the back. A drop of glue holds it flush.

FAQ

What is Joshua Tree?

A whole computer built from nothing: its own desktop, its own network, its own files and a real text editor.

Is it free?

Yes, and it is open for you to help build.