Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Unable to Install DAML SDK on Apple M1 Macbook ProForum ↗

Unable to Install DAML SDK on Apple M1 Macbook Pro

App Development4 posts743 views3 likesLast activity Jul 2022
ST
stephenwsunOP
Jul 2022 1

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?

CO
cocreature
Jul 2022 1

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

ST
stephenwsun
Jul 2022

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!

CO
cocreature
Jul 2022 1

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

← Back to Discussions