solana: Does not work in Windows: CLI app: solana-test-validator

Problem

I installed Solana on Windows 10 x64 version 10.0.19045 Build 19045.

Ran this:

solana-test-validator

It immediately exited, with no error message or any sort. I tried solana-test-validator --version with the same result. This worked nicely: solana --version.

I then tried it under WSL with Ubuntu 22.04 LTS and it worked perfectly.

Proposed Solution

Fix solana-test-validator to work under Windows, or at the very least, display an error message on running that it does not support Windows. Might want to update the docs as well.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Reactions: 1
  • Comments: 15 (10 by maintainers)

Most upvoted comments

Will work on this !

I guess we have to provide some steps on how to install prerequisites to run solana-test-validator on windows ! it works just fine after installing all prerequisite binaries and setting all the system environment variables !