Set up a Linux VM with lima-vm to run sdme on your Mac.
sdme requires Linux with systemd. On macOS, use lima-vm to run a Linux VM.
brew install lima
Create and start a VM with any systemd-based distro:
limactl create --name=ubuntu template:ubuntu
limactl start ubuntu
limactl shell ubuntu
Other distro templates are available via limactl create --list-templates.
Inside the VM:
curl -fsSL https://sdme.io/install.sh | sudo sh
Verify the installation:
sdme --version
All sdme commands run inside the VM from this point.
For common operations like creating, joining, or stopping containers, you can add an alias to your shell profile so you don't have to enter the VM each time:
alias sdme='limactl shell ubuntu sudo sdme'
This lets you run commands like sdme new, sdme join, sdme ps, and sdme stop directly from the Mac terminal. Filesystem operations such as fs import, fs build, and cp also work fine through the alias.
The exception is fs export, which writes its output archive inside the VM. Run it from inside the VM (limactl shell ubuntu), then copy the archive out with limactl copy.
arm64/aarch64.-b) pointing to lima-shared paths work, but file operations may be slower than native.localhost from the Mac. Private-network containers require additional port forwarding configuration in the lima VM config.