Skip to content
CCPEDIAby Unity Nodes
App Development

Unable to Install DAML SDK on Apple M1 Macbook Pro

4 posts775 views3 likesLast activity Jul 2022

  1. stephenwsunOP 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?

  2. cocreature 1

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

  3. stephenwsun

    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!

  4. cocreature 1

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