jekyll command not found

In this troubleshooting guide we learn how to fix jekyll command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

jekyll: command not found

or when using sudo you get the following error message

sudo: jekyll: command not found

Solutions to jekyll: command not found

How To Fix jekyll: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jekyll is provided by jekyll package.

jekyll is:

Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server.

This is also the engine behind GitHub Pages (http://pages.github.com), which you can use to host your project’s page or blog right here from GitHub.

There are lot of plugins available and only the most common ones are suggested by the package. Look for more using ‘jekyll plugin’.

To fix this problem, we can install more using the command below.

sudo apt-get -y install jekyll

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install jekyll.

sudo apt -y install jekyll

Or if you have aptitude installed you can use the following command.

sudo aptitude install jekyll

Summary

In this tutorial we learn how to fix jekyll command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.