How to install Solana

MacOS and Linux

Paste this command on your terminal:

sh -c "$(curl -sSfL https://release.solana.com/v1.9.4/install)"

And you can replace the version (v1.9.4) to tags: stable, beta or edge. The output for successful is:

downloading v1.9.4 installer
Configuration: /home/solana/.config/solana/install/config.yml
Active release directory: /home/solana/.local/share/solana/install/active_release
* Release version: v1.9.4
* Release URL: https://github.com/solana-labs/solana/releases/download/v1.9.4/solana-release-x86_64-unknown-linux-gnu.tar.bz2
Update successful

Now you can run

solana --version

If this command not work in another terminal window, restart your session and try again to update your path.