How to Install Jekyll

You have already learned a bit about the Jekyll static-site CMS and what the benefits and downsides are. In this article, we’ll show you how to install Jekyll on your local computer. The most basic usage of Jekyll will start by generating the site in your computer and then uploading it to your server. That process starts with the installation detailed below.

Jekyll Requirements

Though it’s possible to install Jekyll in Windows, the following operating system specifications are recommended:

  • GNU/Linux
  • Unix
  • MacOS

You will also require a fairly current version of Ruby (2.2.5 or above) and RubyGems. You can check these installations by running ruby -v and gem -v on your command line.

Also, though you may already have them, make sure you have installed GCC and Make (which would have likely shipped with your operating system). You can check if you have these programs installed by running gcc -v and make -v.

How to Install Jekyll

Now that we have gone through the requirements, you are ready to actually install Jekyll itself. You will only need to open your default terminal application.

  1. Enter gem install jekyll at the command prompt
  2. Wait for the process to finish
  3. Type jekyll --version to make sure the process worked

You should now have a fully functioning version of Jekyll available from your command line. In the next article we’ll show you how to create your Jekyll site and start adding post and page content.

Leave a Reply