Hello guys and in this article i'll teach you guys how to setup Solana binaries inside a Apple Silicon Machine. So without any further ado let's get started.
The Problem
Ledger location: test-ledger
Log: test-ledger/validator.log
⠙ Initializing...
[1] 28305 illegal hardware instruction solana-test-validator
How i solved and managed to solve the problems
- Fixing the issue with the solana installation, got into my mind that solana already fixed the issues with the Apple Silicon devices already. We just need to solve the issues with the installation because a lot of people are installing and getting binaries for the wrong platform
- So first download the tar from the latest solana release on Github inside the releases tab (https://github.com/solana-labs/solana/releases)
- Select the latest version go to the assets and download the
solana-release-aarch64-apple-darwin.tar.bz2that is the version that is compatible with Apple Silicon devices - With your terminal run the following commands
$ tar jxf solana-release-aarch64-apple-darwin.tar.bz2
...
$ cd solana-release/
...
$ export PATH=$PWD/bin:$PATH
- Let's test the installation run
solana --versionto check the version andsolana-test-validatorto run the local validator node, you should get something like this:
--faucet-sol argument ignored, ledger already exists
Ledger location: test-ledger
Log: test-ledger/validator.log
⠒ Initializing...
Identity: Fc9DM3QY3q77VRajtgMje9KoxtZdQ2zhcUDitdwdvrs
Genesis Hash: 2Q9pYtPet47347JSUA8W7ArHfnQYgq9hxFSZ2v98xfkB
Version: 1.14.11
Shred Version: 46349
Gossip Address: 127.0.0.1:1024
TPU Address: 127.0.0.1:1027
JSON RPC URL: http://127.0.0.1:8899





