Adventures in Windows


I have been developing on Windows since 2005. (I was a C# software engineer for a bit, though ended up mostly doing T-SQL and management).

At the start of my Ethereum journey I was developing POCs using Truffle and OpenZeppelin on Windows 7. (I had a load of legacy tools that I still needed)

In late 2018 I moved to Windows 10 and using WSL.

Windows Native

I tried to create a native Windows development environment this week, but am running into some issues, I might need to start over.


This week I also changed to WSL 2.

I am using Ubuntu 18.04

I initialized my distro (instructions:

Using instructions (Thanks David Burela)

Ensure distro up to date

sudo apt update && sudo apt upgrade

I wanted to install nvm but this failed as I had an error saying I needed npm

Then I installed node 10 (instructions:

curl -sL | sudo -E bash -
sudo apt-get install -y nodejs

Then I could install nvm

curl -o- | bash

Restart the terminal

Install node 10

nvm install 10
nvm alias default 10
nvm use default

Install build-essential and python

sudo apt install build-essential python -y

Finally install ganache-cli (one of the few packages I have globally)

npm i -g ganache-cli

I had been waiting for general availability for WSL2 before migrating from WSL but decided to try it out now.
WSL2 will be available in Windows 10 (version 2004)

1 Like

I want to use WSL more frequently but what do you use for code editor? For example, how can I use my Atom on Windows with WSL? Or should I use vi or something like command-line editor on WSL?

1 Like

Hi @swkim109,

I use VSCode as it supports WSL (and you can run any Windows application). I used Visual Studio for years so feel very much at home.

The Solidity plugin is awesome and thanks to @juanfranblanco includes formatting which I :heart:

1 Like