Reputation: 79
I ran:
curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
In my Windows command prompt and it showed up like this:
It seemed like it installed - so then I did solana --version
and this is what happened:
'solana' is not recognized as an internal or external command, operable program or batch file.
I ran solana --version
in Powershell, Git Bash, VS Code Terminal, and Command Prompt and it gives the same output.
How do I install Solana?
Thank you!
Upvotes: 5
Views: 14457
Reputation: 56
For anyone having issues with the above curl answer I had to add the --ssl-no-revoke for it to ignore SSL cert issues and download:
curl https://release.solana.com/v1.9.16/solana-install-init-x86_64-pc-windows-msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs --ssl-no-revoke
Upvotes: 0
Reputation: 21
I had the same problem.
I tried a lot of things, git bash, cmd, everything were in administrator, however I couldn't.
But I got it, I tried with another versions (v1.8.5 , v1.9.5, v1.10.5)
curl https://release.solana.com/v1.9.5/solana-install-init-x86_64-pc-windows- msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
My problem was solve when I tried with (v1.9.5)
Upvotes: 2
Reputation: 1
You did step 1 of 2 to install Solana - right now you have the directory of files copied,
Run C:\solana-install-tmp\solana-install-init.exe v1.8.3
to actually install. Then make sure that either PATH is auto-updated or copy the generated PATH and update it manually.
CLOSE the CMD right after and relaunch. THEN try Solana --version
.
Upvotes: 0
Reputation: 1
you need to make sure you are running as admin I ran into the same issue
Upvotes: 0
Reputation: 31
C:\solana-install-tmp\solana-install-init.exe v1.8.6
Install is up to date. 1.8.6 is the latest compatible release
The HKEY_CURRENT_USER/Environment/PATH registry key has been modified to include:
C:\Users\Krogf\.local\share\solana\install\active_release\bin
Future applications will automatically have the correct environment, but you may need to restart your current shell.
Press the Enter key to continue.
Upvotes: 0
Reputation: 1537
you can try :
More details on:https://docs.solana.com/cli/install-solana-cli-tools
step1:
curl https://release.solana.com/v1.8.3/solana-install-init-x86_64-pc-windows-
msvc.exe --output C:\solana-install-tmp\solana-install-init.exe --create-dirs
step2:
C:\solana-install-tmp\solana-install-init.exe v1.8.3
Note: you have to open a command prompt as administrator
Upvotes: 6