How to run Jekyll Blog on Windows 10

VAIBHAV HARIRAMANI
3 min readMay 17, 2022

--

Ruby and Windows aren’t exactly two peas in a pod, but if the need to test your Jekyll based blog software on a Windows 10 machine, you need to make that marriage work. In this tutorial, we’ll provide you with a quick and simple example of how to install Jekyll on Windows 10.

Jekyll

Jekyll is a static site generator extremely popular. It is GitHub co-founder Tom Preston-Werner’s popular Ruby open source program. It prompts developers to transform your plain text into static websites and blogs.

Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.

Jekyll is built with Ruby programming language. I’m now learning the web development with Ruby & Ruby on Rails at The Hacking Project. So if you’re coming from a Ruby/ROR background , you will be willing to check what’s in with Jekyll.

So let’s see how I create my personal blog. And don’t forget that will be totally free.

Steps to install Jekyll on Windows 10

Here are the quick steps to install Jekyll on Windows

  1. Download and install Ruby and the associated Devkit from rubyinstaller.org
  2. Keep all options selected during the Ruby install
  3. Click the checkbox to run ridk install on the final screen of the Ruby install
  4. In the command window that appears, choose option 3 to install MSYS2 and the MINGW development toolchain

Open an new command window and install Jekyll on Windows with the following command:

gem install jekyll bundler

  1. Verify the install by issuing the jekyll -v command
  2. Create a new blog with the jekyll new myblog command
  3. From the myblog folder created in the previous step issue the following command

cd myblog

bundle exec jekyll serve

Open a browser to http://localhost:4000 and view your Jekyll blog on Windows

Local Jekyll blog development on Windows

These steps will not only install Jekyll on Windows 10, but it will also create an empty Jekyll blog and run it on your local machine.

Ensure the option to run ‘ridk install’ is selected when you install Jekyll on Windows 10.

GitHub Pages and Jekyll Blogs

It’s worth noting that if you are a GitHub user and your Jekyll blog is hosted on GitHub Pages, you don’t need to develop your business or personal website locally. You can do all of your editing online with a GitHub repository’s web UI interface. Any changes you make directly to your GitHub Pages files will be compiled and integrated into the site almost immediately, with the word ‘almost’ being critical.

Jekyll tends to be slow to compile, so it sometimes takes five minutes after a change to see it reflected on your live site. If you can live with that type of delay, then you may have no need to locally install Jekyll on Windows 10.

But if you want to use your own text editor and take advantage of fast compile times, having Jekyll installed locally on your Windows or Linux machine is definitely the way to go.

Thank You for reading

Please give 👏🏻 Claps if you like the blog.

GEEKY BAWA

just a silly Geek who love to seek out new technologies and experience cool stuff.

Do Checkout My other Blogs

Do Checkout My Youtube channel

--

--

VAIBHAV HARIRAMANI
VAIBHAV HARIRAMANI

Written by VAIBHAV HARIRAMANI

Hi there! I am Vaibhav Hariramani a Travel & Tech blogger who love to seek out new technologies and experience cool stuff.

No responses yet