Skip to content
Personal checklist for setting up a new Ubuntu's dev environment on Windows.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


OS: Ubuntu on Windows 10 // Windows Subsystem for Linux (WSL)


Config is a basic checklist I follow to set up a new Ubuntu's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.


1. Install WSL

  • Before installing Ubuntu distro enable WSL feature with the Powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  • Get Ubuntu distro from the Microsoft Store or with command-line/script on Powershell

2. Prepare OS

  • Update OS packages: $ sudo apt-get update -y && sudo apt-get upgrade -y

3. Setup Ruby and gems

  • Install Ruby: $ sudo apt-get ruby


  • Add optimised Ruby Version Manager repo from Brightbox:
$ sudo apt-add-repository ppa:brightbox/ruby-ng
  • update system $ sudo apt-get update

  • Installing Specific Ruby versions:

$ sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
  • Install Bundler gem: $ sudo gem install bundler

  • Place the Gemfile in the project folder and install gem: $ bundle install

4. Setup Node.js

  • Node.js v12.x:
curl -sL | sudo -E bash -
sudo apt-get install -y nodejs
  • Install Gulp command line tools: sudo npm install -g gulp-cli

How to flush DNS in Ubuntu?

Install nscd using the following command if not yet

sudo apt-get install nscd

Flush DNS Cache in Ubuntu by restarting the nscd

sudo /etc/init.d/nscd restart


You can’t perform that action at this time.