DEV Community

Cover image for Installing Jekyll
David Large for CloudCannon

Posted on • Updated on • Originally published at cloudcannon.com

Installing Jekyll

By Farrel Burns

Brought to you by CloudCannon, the Git-based CMS for Jekyll.

Jekyll is a Ruby Gem that can be installed on most systems. It’s a straightforward process on both Mac and Linux, and only slightly more involved on Windows. Either way, it won’t take you long to get set up with Jekyll! 

How to install Jekyll

Jekyll is a Ruby Gem, which means you will need to install a couple of dependencies to allow the Gem to run on your system.

You will need:

  1. Ruby version 2.4.0 or higher, including all development headers (check by running the command ruby -v)
  2. RubyGems (check by running the command gem -v)
  3. GCC (check by running the command gcc -v, g++ -v)
  4. Make (check by running the command make -v)

For a step-by-step walkthrough to help you install these, head to the Jekyll installation guides and follow the instructions for your system.

Install Jekyll

Once you have done that you are ready to install the Jekyll gem. Go to your command line interface and run

    gem install jekyll bundler
Enter fullscreen mode Exit fullscreen mode

Final installation check

To check that the Jekyll installation has worked properly, run the following command:

    jekyll -v
Enter fullscreen mode Exit fullscreen mode

Top comments (0)