Quick start on a Mac
The fastest way to see Castmill OS is the development virtual machine. It runs the arm64 image at close to native speed on any Apple Silicon Mac.
Time needed
About five minutes, plus the image download.
1. Install the tools
You need Homebrew and a clone of the repository:
brew install qemu zstd gh
gh auth login # once, to download CI artifacts
git clone https://github.com/castmill/castmill-os.git
cd castmill-os2. Download the image
Get the latest development image built from main:
scripts/run-vm.sh fetchOr download the one from a release:
gh release download v0.1.0 -R castmill/castmill-os -p '*genericarm64*' -D .vm/download3. Boot it
scripts/run-vm.sh run # the image from "fetch"
scripts/run-vm.sh run .vm/download/castmill-os-image-genericarm64.rootfs.wic.zstA QEMU window opens with two virtual screens, and the serial console stays in your terminal. You'll see:
The Castmill OS logo with the version and the active slot:
text\ / __ _ ____ ____ _____ \ _ / _________ ______/ /_____ ___ (_) / / / __ \/ ___/ (o) / ___/ __ `/ ___/ __/ __ `__ \/ / / / / / / /\__ \ /| |\ / /__/ /_/ (__ ) /_/ / / / / / / / / / /_/ /___/ / / | | \ \___/\__,_/____/\__/_/ /_/ /_/_/_/_/ \____//____/ /___\ Castmill OS 0.1.0 - genericarm64 - slot A - DEVELOPMENT IMAGECastmill's pairing screen ("Register Your Device") on each virtual screen, with a registration code and a QR code. Switch between the two screens in QEMU's View menu.
4. Pair it
Open the Castmill dashboard, add a device and enter the registration code shown on a screen, or scan the QR code. Each screen is its own Castmill device. See Pair with Castmill.
Useful commands
ssh -p 2222 root@localhost # development images only: root, empty password
castmill-agent status # on the device: agent, outputs and update state
scripts/run-vm.sh reset # start again from a fresh, unpaired deviceThe VM keeps its disk between runs, so a paired device stays paired. To try a newer image, run fetch, then reset, then run: without reset the VM boots the disk made from the previous image.
The VM is good for checking boot, pairing, updates and rollbacks. It renders in software and has no hardware video decoding, so video plays slower than on a Raspberry Pi or Intel PC: test media performance on real hardware. More in Virtual machine.