Install the Solana Tool Suite CLI

MacOS & Linux

  • Open your favorite Terminal application

  • Install the Solana release v1.11.10 on your machine by running:\

sh -c "$(curl -sSfL https://release.solana.com/v1.11.10/install)"
  • You can replace v1.11.10 with the release tag matching the software version of your desired release, or use one of the three symbolic channel names: stable, beta, or edge.

Windows

  • Open a Command Prompt (cmd.exe) as an Administrator

    • Search for Command Prompt in the Windows search bar. When the Command Prompt app appears, right-click and select “Open as Administrator”. If you are prompted by a pop-up window asking “Do you want to allow this app to make changes to your device?”, click Yes.

  • Copy and paste the following command, then press Enter to download the Solana installer into a temporary directory:

curl https://release.solana.com/v1.11.10/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
  • Copy and paste the following command, then press Enter to install the latest version of Solana. If you see a security pop-up by your system, please select to allow the program to run.

C:\solana-install-tmp\solana-install-init.exe v1.11.10
  • When the installer is finished, press Enter.

  • Close the command prompt window and re-open a new command prompt window as a normal user

  • Confirm you have the desired version of solana installed by entering:

solana --version
  • After a successful install, solana-install update may be used to easily update the Solana software to a newer version at any time.

Last updated