Solana: 403 error when installing solana cli
Feb 1, 2024
If you are trying to run the following:
sh -c "$(curl -sSfL https://release.solana.com/v1.18.1/install)"
and are getting an error like:
curl: (22) The requested URL returned error: 403
solana-install-init: command failed: downloader https://release.solana.com/v1.18.1/solana-install-init-aarch64-unknown-linux-gnu /tmp/tmp.wa8sM5bWar/solana-install-init
Then it might be the case that your machine’s architecture is not supported. For context, the method you have tried is installation via the install tool. What you can instead try is installation from prebuilt binaries.
Here’s an example:
tar jxf solana-release-x86_64-unknown-linux-gnu.tar.bz2
cd solana-release/
export PATH=$PWD/bin:$PATH
The tar jxf
line assumes you have already downloaded the .bz2 file. You should select and download the appropriate binary the releases page at https://github.com/solana-labs/solana/releases/latest