Note: Windows Subsystem for Linux is officially unsupported at this time. However, several community members have had success getting it to run. One of them contributed the below instructions.
Your mileage may vary.
How to run Coda node using Windows Subsystem for Linux
- Enable WSL via powershell. Run the cmd(console) as the administrator --> paste the command below --> Restart your PC
powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Install Ubuntu 18.04 from Microsoft Store https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q#activetab=pivot:overviewtab
Run Ubuntu 18.04 and wait until installation complete
Choose username and password
Copy and paste the command below into terminal (all 4 lines as one command)
echo "deb [trusted=yes] http://packages.o1test.net release main" \ | sudo tee /etc/apt/sources.list.d/coda.list && \ sudo apt-get update && \ sudo apt-get install -t release coda-testnet-postake-medium-curves=0.0.1-beta.2-fd4fb398 -y
Enter your password and hit “Enter”
- Next, follow the official guide at the link below https://codaprotocol.com/docs/getting-started/#set-up-port-forwarding-and-any-firewalls