Install Jekyll on Windows with Chocolatey

Install Jekyll on Windows with Chocolatey

set up Jekyll locally with Chocolatey on Windows

In this installation guide we’ll use Windows 10 & package manager Chocolatey. These instructions should also work for older versions of Windows.

Install Chocolatey

First, ensure that you are using an administrative shell. For example, using Command Prompt (cmd): Find cmd in All Apps -> Windows System -> Command Prompt. Right click on the icon, select “More” then “Run as administrator”.

Next, we’re going to install Chocolatey with powershell.exe:

NOTE from Chocolatey: Please inspect prior to running any of these scripts to ensure safety. We already know it’s safe, but you should verify the security and contents of *any* script from the internet you are not familiar with. All of these scripts download a remote PowerShell script and execute it on your machine. We take security very seriously. Learn more about our security protocols.

With PowerShell, you must ensure Get-ExecutionPolicy is not Restricted. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security. To do that, run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process. The following installation script will handle the Bypass automatically.

Now run the following command in cmd:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''))

Wait a few seconds for the command to complete. If you don’t see any errors, you are ready to use Chocolatey! Type choco or choco -? now, or see Getting Started for usage instructions.

But it’s recommended to close cmd and re-open it again to make Chocolatey available, remember to run the cmd as an administrator.

Install Ruby using Chocolatey

Then we’ll install Ruby.

choco install ruby -y

Close cmd and open it once again to make Ruby available, remember to run the cmd as an administrator.

Install Jekyll using Ruby Gem

Once we have Ruby installed, we can install Jekyll with Ruby Gem:

gem install jekyll

After that, we can test Jekyll is working by checking the version of Jekyll.

jekyll -v

Yep! Now let’s start blogging with Jekyll…

Ads by Google

Installation via Bash on Windows 10

If you are using Windows 10 version 1607 or later, another option to run Jekyll is by installing the Windows Subsystem for Linux.

See detailed installation guid with Bash on Windows here:

In this fashion, you’re totally switched to a Linux environment for Jekyll development, have fun with that.

Ads by Google


Frank Lin

Hey, there! This is Frank Lin (@flinhong), one of the 1.41 billion 🇨🇳. This 'inDev. Journal' site holds the exploration of my quirky thoughts and random adventures through life. Hope you enjoy reading and perusing my posts.


Setup an IKEv2 server with StrongSwan



Setup an IKEv2 server with StrongSwan

IKEv2, or Internet Key Exchange v2, is a protocol that allows for direct IPSec tunneling between two points. In IKEv2 implementations, IPSec provides encryption for the network traffic. IKEv2 is natively supported on some platforms (OS X 10.11+, iOS 9.1+, and Windows 10) with no additional applications necessary, and it handles client hiccups quite smoothly.

Hands on IBM Cloud Functions with CLI



Hands on IBM Cloud Functions with CLI

IBM Cloud CLI allows complete management of the Cloud Functions system. You can use the Cloud Functions CLI plugin-in to manage your code snippets in actions, create triggers, and rules to enable your actions to respond to events, and bundle actions into packages.

Using Liquid in Jekyll - Live with Demos

Web Notes


Using Liquid in Jekyll - Live with Demos

Liquid is a simple template language that Jekyll uses to process pages for your site. With Liquid you can output complex contents without additional plugins.