Install Jekyll on Linux

Introduction

In this installation guide we’ll be using Ubuntu 16.04. If you’re using a different Linux distribution, change the apt-get commands to the package manager on your operation system.

To begin with, we’ll open up the Terminal. In the Terminal we can run our installation commands.

Terminal

Commands

First we’ll make sure Ubuntu is up to date:

sudo apt-get update

Then we’ll install Ruby:

sudo apt-get install ruby-full

And finally install Jekyll:

sudo gem install jekyll

Final check

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

jekyll -v

Version