DEV Community

Discussion on: How to install Solana dev tools on an M1 Mac

Collapse
 
pradan profile image
Prashant Dandriyal

Hi Nick. Kudos for the good work. Just wanted to point out that while installing arch -x86_64 brew install openssl@1.1 on the rosetta terminal, I got this brew error:

Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
    arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
Enter fullscreen mode Exit fullscreen mode

I don't know why this wasn't experienced by anybody else. I am looking into this and would like to know if someone already solved it. 🤠

Collapse
 
abhi3700 profile image
Abhijit Roy

Even I am facing this same issue.

Would like to hear from reply from others

Collapse
 
abhi3700 profile image
Abhijit Roy • Edited

Finally! I resolved this issue. Now, I am able to start a localnet node in my Mac M1.

From this step where, you are stuck, just continue installing under ARM architecture. Then, follow my notes here. github.com/abhi3700/sol-playground...

You will be able to run on M1. I tested for Solana version 1.8.5.