<p>This guide worked to get me past the server build: <a href="https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md" rel="nofollow noreferrer">https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md</a></p>

CC BY-SA 4.0
2022-01-12T15:51:51.547Z
2022-01-12T15:51:51.547Z
Bronya
<p>We do not currently have native support for <code>aarch64-darwin</code> (macOS on Apple Silicon chips). I expect this will come throughout the year. For now please use rosetta2. We also do not have caches for <code>aarch64-darwin</code> yet.</p>
<p>Try to pass the system string to nix like so:</p>
<pre><code>$ nix-build -A plutus-playground.server --argstr system x86_64-darwin
</code></pre>

CC BY-SA 4.0
2022-01-12T15:20:03.700Z
Hi @angerman, thanks for the answer. I am getting segmentation fault when I run it  with the additional parameter:
unpacking source archive /private/tmp/nix-build-source.drv-0/c8c5e6a6fbb12a73598d1a434984a36e880ce3cf.tar.gz
zsh: segmentation fault  nix-build -A plutus-playground.server --argstr system x86_64-darwin
Bronya
CC BY-SA 4.0
2022-01-17T04:34:21.097Z
Did you by any chance have `sandbox = true` in your nix config?
angerman
CC BY-SA 4.0
2022-01-12T05:55:45.007Z
2022-01-12T05:55:45.007Z
angerman
<p>Apple M1 seems to be supported meanwhile. This finally worked for me:</p>
<pre><code>$ git clone https://github.com/input-output-hk/plutus-apps
$ cabal update
$ nix-build -A plutus-playground.server
$ nix-build -A plutus-playground.client
$ nix-shell
</code></pre>

CC BY-SA 4.0
2022-05-07T21:50:46.313Z
Any additional nix configs especially for mac/m1 needed before you ran these commands @Dirk?
jerome
CC BY-SA 4.0
2022-05-04T12:30:44.847Z
2022-05-04T12:30:44.847Z
Dirk
<p>I am in the 3rd pioneers cohort, going through the env setup. I have Mac M1 with Monterey. I installed nix and added config for the caches etc as recommended here: <a href="https://github.com/input-output-hk/plutus-apps#nix-on-macos" rel="noreferrer">https://github.com/input-output-hk/plutus-apps#nix-on-macos</a></p>
<p>When I run &quot;nix-build -A plutus-playground.server&quot;, it ends with:</p>
<blockquote>
<p>unpacking source archive
/private/tmp/nix-build-source.drv-0/f089a6f090cdb35fcf95f865fc6a31ba6b3ac4eb.tar.gz
error: attribute 'aarch64-darwin' missing</p>
<pre><code>   at /nix/store/cyfj6bd0n0ckvkm67mhjyg1qcvrfgsg9-source/artifact.nix:11:10:

       10| let
       11|   host = hosts.${stdenv.targetPlatform.system};
         |          ^
       12| (use '--show-trace' to show detailed location information)
</code></pre>
</blockquote>
<p>has anyone managed to build and run the Plutus playground on M1 Mac ?</p>

<plutus-pioneer-program>
Building Plutus-apps on Mac M1
# Building Plutus-apps on Mac M1

(Asked by: username_0 on 2022-01-12)

I am in the 3rd pioneers cohort, going through the env setup. I have Mac M1 with Monterey. I installed nix and added config for the caches etc as recommended here: https://github.com/input-output-hk/plutus-apps#nix-on-macos
When I run "nix-build -A plutus-playground.server", it ends with:

unpacking source archive
/private/tmp/nix-build-source.drv-0/f089a6f090cdb35fcf95f865fc6a31ba6b3ac4eb.tar.gz
error: attribute 'aarch64-darwin' missing
   at /nix/store/cyfj6bd0n0ckvkm67mhjyg1qcvrfgsg9-source/artifact.nix:11:10:

       10| let
       11|   host = hosts.${stdenv.targetPlatform.system};
         |          ^
       12| (use '--show-trace' to show detailed location information)


has anyone managed to build and run the Plutus playground on M1 Mac ?

**Tags:** plutus-pioneer-program

---

## 3 answers

### Answer by username_0 on 2022-01-12. Score: 3 | Accepted answer

This guide worked to get me past the server build: <https://github.com/renzwo/cardano-plutus-apps-install-m1/blob/main/README.md>


---

### Answer by username_1 on 2022-01-12. Score: 3

We do not currently have native support for aarch64-darwin (macOS on Apple Silicon chips). I expect this will come throughout the year. For now please use rosetta2. We also do not have caches for aarch64-darwin yet.
Try to pass the system string to nix like so:
$ nix-build -A plutus-playground.server --argstr system x86_64-darwin

> **Comments:**
> **username_0**: Hi @angerman, thanks for the answer. I am getting segmentation fault when I run it  with the additional parameter: unpacking source archive /private/tmp/nix-build-source.drv-0/c8c5e6a6fbb12a73598d1a434984a36e880ce3cf.tar.gz zsh: segmentation fault  nix-build -A plutus-playground.server --argstr system x86_64-darwin  
> **username_1**: Did you by any chance have `sandbox = true` in your nix config?  

---

### Answer by username_2 on 2022-05-04. Score: 2

Apple M1 seems to be supported meanwhile. This finally worked for me:
$ git clone https://github.com/input-output-hk/plutus-apps
$ cabal update
$ nix-build -A plutus-playground.server
$ nix-build -A plutus-playground.client
$ nix-shell

> **Comments:**
> **username_3**: Any additional nix configs especially for mac/m1 needed before you ran these commands @Dirk?  

---

