Installing Jekyll

Install Jekyll - a simple, blog aware static site generator Ruby Gem.

Farrel Burns, Developer Evangelist
Duration: 5 minutes
Expertise level: Beginner
On this page:

Loading...

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)
Note

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

Final installation check

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

jekyll -v