Skip to content

Instantly share code, notes, and snippets.

@ahpooch
Last active August 10, 2023 21:02
Show Gist options
  • Select an option

  • Save ahpooch/087a14f747737010b75ab00d6b6901e2 to your computer and use it in GitHub Desktop.

Select an option

Save ahpooch/087a14f747737010b75ab00d6b6901e2 to your computer and use it in GitHub Desktop.
Install Jekyll on Ubuntu distributive in WSL2

Installing ruby, jekyll and bundler

sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get install ruby-full
sudo apt-get install build-essential --no-install-recommends
sudo gem install jekyll bundler

Installing some other dependencies

sudo gem install jekyll-feed
sudo gem install webrick
sudo gem install minima
sudo gem install rexml
sudo gem install kramdown
sudo gem install kramdown-parser-gfm

In WSL path /mnt/c/ is mapped to your C:\ drive. In Windows explorer path \wsl$\ will be mapped to WSL disributives drives.

Creating jekyll template

cd /mnt/c/Users/<your username>/Desktop
jekyll new mynewblog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment