`dpm init` fails with "bad CPU type in executable" on Apple Silicon (arm64) macOS
I am able to fresh install dpm successfully via this command: curl https://get.digitalasset.com/install/install.sh | sh
After adding dpm to my PATH, i’ll run dpm init and get this error:
`Error: failed to spawn command subprocess. fork/exec /Users/.dpm/cache/components/daml-new/3.5.1/daml-new-dpm/daml-new: bad CPU type in executable`
Possible root cause:
Expected: daml-new binary for arm64 architecture
Actual: daml-new binary is x86_64 (Mach-O 64-bit executable x86_64)
dpm version:
version: 1.0.17
build: 5ba68d2
buildDate: 5ba68d2
System:
macOS 26.5.1 (Build 25F80)
CPU: arm64 (Apple Silicon)
Kernel: Darwin 25.5.0
I’ve marked this as an issue to the repo as well: `dpm init` fails with "bad CPU type in executable" on Apple Silicon (arm64) macOS · Issue #275 · digital-asset/dpm · GitHub