Jekyll is by default designed to run on Linux and Unix systems. It supports these OS out of the box. Many devs think that it is complicated and hard to manage on native Windows. Therefore they turn to VM environments where they run Jekyll on VMs.

This is not only clumsy but annoying at the same time. Plus even though the Jekyll team does not state it, Jekyll works perfectly on Windows. Here are the steps to install it and get it running in a snap.

Step 1: Install Chocolatey. Open administrative Command Prompt (right-click run as administrator) and paste the following lines

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

If you prefer using PowerShell instead of Command Prompt, then use the following command in PowerShell.

iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))

Step 2: Install Ruby. Open administrative Command Prompt and type in the following lines.

choco install ruby -y

Step 3: Install Jekyll, use Ruby gem to install Jekyll

gem install jekyll

Step 4 (optional): If you want pagination to work in Jekyll, install Jekyll pagination

gem install jekyll-paginate

The default syntax highlighter in Jekyll is Rouge this is built into Jekyll, Rouge is more than adequate for all your syntax highlighting needs when blogging. Here is a list of languages supported by Rouge


Joel Jeyachandran

Interesting stuff in my life!