Home > front end >  Unable to install Solana tool suite (Windows)
Unable to install Solana tool suite (Windows)

Time:03-30

I followed this guide:

https://docs.solana.com/cli/install-solana-cli-tools#:\~:text=Windows-,Download the binaries by navigating to https://github.com,archive using WinZip or similar.

However, when i proceed with the steps it doesn't seem to work right. I have tried so many options. Ubuntu works however i do not want to use the platform because there is some confusion for me. Basically when I run this command:

curl https://release.solana.com/v1.10.4/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs

The output is the file that I have attached.

But then, when I run this command,

C:\solana-install-tmp\solana-install-init.exe v1.10.4

This is the output: The system cannot execute the specified program.

When i run the same command in PowerShell, it says "The file or directory is corrupted and unreadableAt line:1 char:1 C:\solana-install-tmp\solana-install-init.exe v1.10.4.

I am not quite sure what to do so I can install this Solana tool suite.

Thanks in advance!

I have tried many things, I am not going to be using ubuntu ever again, i want everything to be with cmd and in the windows 10 system while coding in VSC.

CodePudding user response:

so I figured out the issue. There aren't Windows compatible files (.exe) for all of the Solana releases. The guide tells you to use v1.10.4 but after manually going through the releases on Github I found that v1.9 is the latest version with an EXE listed. So run the commands as the guides describe but instead of v1.10.4, pass v1.9.7 instead like this:

https://release.solana.com/v1.9.7/solana-install-init-x86_64-pc-windows-msvc.exe

Then after it downloads and it's time to run the next command, do the same thing, substitute 1.10.4 with 1.9.7 like this:

C:\solana-install-tmp\solana-install-init.exe v1.9.7

This will install Solana and from there you can follow the guide accordingly. When you run solana-install update it should update from v1.9.7 to v1.9.14.

CodePudding user response:

Thanks for that, it worked perfectly!

  • Related