Install Castmill OS
Castmill OS ships as a ready-to-flash disk image for each kind of hardware. You write it to the device's disk (or an SD card or USB stick), optionally add a castmill.conf for Wi-Fi, and power on.
Pick your hardware
Raspberry Pi 5
SD card, NVMe or USB. Two 4K screens.
Intel mini PC
N100/N150-class x86-64 with UEFI. Two or three screens.
Virtual machine
Apple Silicon Mac or arm64 Linux. For trying and development.
Downloads
Every version is published on the GitHub releases page:
| File | What it is |
|---|---|
castmill-os-image-raspberrypi5.rootfs.wic.zst | Raspberry Pi 5 / CM5 disk image |
castmill-os-installer-genericx86-64.img.xz | Intel / x86-64 installer stick: write it to a USB stick and boot the PC from it |
castmill-os-image-genericx86-64.rootfs.wic.zst | Intel / x86-64 disk image, for writing a disk directly |
castmill-os-image-genericarm64.rootfs.wic.zst | arm64 development VM image (SSH, root login) |
*.wic.bmap | Block map, so bmaptool writes only the used blocks |
castmill-os-bundle-<machine>.raucb | Signed update bundle for devices already running Castmill OS |
*.spdx.json | Software bill of materials |
SHA256SUMS | Checksums of every file |
The latest development build of main is also available as GitHub Actions artifacts (image-rpi5, image-x86-64, image-vm-arm64); the x86-64 artifact includes the installer.
Test releases
Releases are currently signed with development keys and are meant for testing. Don't install them on screens in production yet.
Check the download
gh release download v0.1.0 -R castmill/castmill-os -p '*raspberrypi5*' -p SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS # macOS: shasum -a 256 --ignore-missing -c SHA256SUMSFlashing tools
Use whichever you have. All of them erase the target disk, so check the disk name twice.
lsblk # find the disk, e.g. /dev/sdb
sudo bmaptool copy castmill-os-image-<machine>.rootfs.wic.zst /dev/sdXdiskutil list # find the disk, e.g. /dev/disk4
diskutil unmountDisk /dev/diskN
zstd -dc castmill-os-image-<machine>.rootfs.wic.zst | sudo dd of=/dev/rdiskN bs=4m
diskutil eject /dev/diskNRaspberry Pi Imager → Choose OS → Use custom → pick the image
(decompress it first with zstd -d if Imager doesn't accept .zst)
→ Choose storage → Writebmaptool is the fastest because it skips empty blocks; it reads the .bmap file next to the image automatically.
After flashing
- Wi-Fi or a proxy? Copy a
castmill.confto thebootpartition. Ethernet with DHCP needs no configuration. - Boot the device. The first boot grows the
datapartition to fill the disk. - Pair it. Each screen shows a pincode; claim it in the Castmill dashboard. See Pair with Castmill.