From 4c030426360a3ce5d8f5c163bc4495dc7be57998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Djakovi=C4=87?= Date: Mon, 20 Nov 2023 12:11:28 +0100 Subject: [PATCH] Added instructions to docs for running Wasp on Mac arm64 (install rosetta) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add MacOS Rosetta info to docs * remove caution * fix copy * wrap in code box * Update note title Co-authored-by: Martin Šošić * Add info on Mx chip --------- Co-authored-by: Martin Šošić --- web/docs/introduction/getting-started.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/docs/introduction/getting-started.md b/web/docs/introduction/getting-started.md index a0138cfb6..80c10cb7b 100644 --- a/web/docs/introduction/getting-started.md +++ b/web/docs/introduction/getting-started.md @@ -107,6 +107,15 @@ Open your terminal and run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh ``` +:::note Running Wasp on Mac with Mx chip (arm64) +**Experiencing the 'Bad CPU type in executable' issue on a device with arm64 (Apple Silicon)?** +Given that the wasp binary is built for x86 and not for arm64 (Apple Silicon), you'll need to install [Rosetta on your Mac](https://support.apple.com/en-us/HT211861) if you are using a Mac with Mx (M1, M2, ...). Rosetta is a translation process that enables users to run applications designed for x86 on arm64 (Apple Silicon). To install Rosetta, run the following command in your terminal +```bash +softwareupdate --install-rosetta +``` +Once Rosetta is installed, you should be able to run Wasp without any issues. +::: +