diff --git a/foundryup-zksync/foundryup-zksync b/foundryup-zksync/foundryup-zksync index 21893e061..3fead66d6 100755 --- a/foundryup-zksync/foundryup-zksync +++ b/foundryup-zksync/foundryup-zksync @@ -192,6 +192,10 @@ EOF "Darwin") os="apple-darwin" arch=$(arch) + if [[ "$arch" == "i386" ]]; then + # Rosetta reports as i386, but we treat it as x86_64 + arch="x86_64" + fi ;; *) err "anvil-zksync only supports Linux and MacOS! Detected OS: $uname_str"