Configure Blockchain on Windows

Created: Configuring Windows for Hyperledger

Updated: 03 September 2023


Before running the below script, ensure that you are in Administrator Powershell and that your Execution Policy is set to Remote Signed, if not then first run the following command

Set-ExecutionPolicy RemoteSigned

Then run the script below

cd ~
choco install python2 docker-desktop docker-compose golang nodejs git -y
npm install --global windows-build-tools
npm install --global grpc
mkdir .\go\src\\hyperledger
cd go\src\\hyperledger
git clone

This will install the necessary prerequisites and should also set up the environment variables as well as the Go Workspace, but you may need to verify that the below steps were completed correctly

(Don’t know how accurate this script is as it may not necessarily work, but the instructions are as follows)

Received Instructions

Install Git for Windows x64 to include Uname command

Extract binaries + add to Env Variables

Install Windows Xxtras

Node JS -

npm install --global windows-build-tools
npm install --global grpc

Install Go

  1. Set Env Variables, PATH, GOPATH
  2. Create Workspace

(Not sure if this will work on Powershell/how it would be done correctly)

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

Install Python

Set up Docker Shared Drives

  1. 1SET Env PATH var:


compose_convert_windows_paths = 1
clone git clone
to $GOPATH-> src/hyperledger