Install Jekyll on Windows

Install Jekyll on Windows

In this installation guide we’ll be using Windows 10. These instructions should work for older versions of Windows but they have not but tested.

Install Chocolatey

Open Command Prompt which can be found in All Apps -> Windows System -> Command Prompt. Right click on the icon, select “More” then “Run as administrator”.

Next we’ll install Chocolatey which is a package manager for Windows.

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

Close Command Prompt and open it again to make Chocolatey available, remember to run it as administrator.

Install Ruby by Chocolatey

Then we’ll install ruby.

choco install ruby -y

Close Command Prompt and open it once again to make Ruby available, remember to run it as administrator.

Install Jekyll using Gem

And now we can install Jekyll.

gem install jekyll

We can test Jekyll is working by checking the version installed.

jekyll -v

You can visit Run Jekyll on Windows for more information.

avatar

Frank Lin

Code learning...

Say something Login