Unable to Install DAML SDK on Apple M1 Macbook Pro

I’m going through the installation process of installed DAML on a Apple M1 Macbook Pro. Unfortunately, I’m getting the following error when installing the SDK:

❯ curl -sSL https://get.daml.com/ | sh
Determining latest SDK version...
Latest SDK version is 2.3.2
Downloading SDK 2.3.2. This may take a while.
######################################################################## 100.0%
Extracting SDK release tarball.
/var/folders/58/c9zy7qjn67s0p5c37kcvcxk80000gn/T/tmp.Rywn3Hvg/sdk/install.sh: line 5: /var/folders/58/c9zy7qjn67s0p5c37kcvcxk80000gn/T/tmp.Rywn3Hvg/sdk/daml/daml: Bad CPU type in executable
FAILED TO INSTALL!

Does anyone have a solution for this?

1 Like

This looks like rosetta might not be installed. Try installing it via softwareupdate --install-rosetta.

1 Like

Thanks @cocreature, that worked! I didn’t see this step in the docs. I can help out with adding this in if you’d like!

That would be great, we’d be very happy to accept a PR to clarify the installation instructions there.

1 Like