Unfortunately, at the time of writing, the Solana installer script above will not work on Apple M1 computers.
The installation will be successful and you’ll be able to call solana
commands but other Solana binaries such as solana-test-validator
will throw various errors since it’s expecting dependencies to be located elsewhere. If you’ve already installed it that way, no worries, simply run rm -rf ~/.local/share/solana
to uninstall Solana.
I’ll be sure to update this article if/when this will work out-of-the-box for M1 computers.
In the meantime, we’ve got a little workaround to go through. We need to clone the Solana repository and compile the binary from the source code. Don’t worry, the installation process is still super simple, it just takes a bit longer due to the compilation time. Here are the steps.