How to setup your Windows PC for Substrate Development

I have found many new Substrate developers having trouble with setting up Substrate development environment on their Windows Machine. Personally when I had started developing on Substrate I was using the ‘Command Prompt’ or ‘Powershell’ to interact with my development node, but I quickly ran into issues. First, when using the ‘curl’ command to send some json to the node using RPC, it gives all sorts of errors. Also both of them are inconsistent when executing commands, as some commands worked one day, but next day they didn’t.

So the answer is to use ‘Windows Subsystem for Linux’ and accessing it through Visual Studio Code. Here are the following steps.

Step 1: Install Visual Studio Code

Step 2: Install or Enable WSL

Step 3: Install Ubuntu 20.04 from Microsoft Store

Step 4: Access WSL from VSCode

a) Click on Terminal in the VSCode Toolbar

b) Select Ubuntu 20.04 WSL from the Terminal Box Opened

Step 5: Install Rust and other dependencies

In the WSL terminal opened in VSCode, execute the following commands

Step 6: You are now free to experiment with the Substrate Node Templates on your Windows PC using WSL

git clone

Bramble is also using Substrate for developing its blockchain. Click on the Discord link to connect with us.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rahul Soshte

Rahul Soshte

Programmer, Vlogger & Entrepreneur