How To Get Going With Jekyll and GitHub Pages

1 minute read

I’m running Xubuntu 16.04. This method should be the same/similar in any Debian/Ubuntu distro. These are the steps I followed to get this thing working, using the terminal:

sudo apt install ruby ruby-dev ri bundler build-essential git
sudo gem install jekyll
sudo gem install minima

Note that if the Jekyll version is newer than the supported version on GitHub (see the GitHub dependency versions page) then you will need to install the latest supported version of jekyll instead, like this:

sudo gem install jekyll -v 3.1.6

Next, you need to create a special repo in GitHub for your site. In GitHub, create a new repo, and name it:

Finally, grab a local copy of the new repo:

git clone

Create a brand new Jekyll site with the same name:

jekyll new

Move to the directory:


Test your site locally by running this command, then go to the site it shows you in the terminal (default

jekyll serve

Once you know it’s working, or after you make whatever changes you want, throw it back up on GitHub!

git push

After you successfully push your newly created Jekyll site to GitHub, wait maybe 2-3 seconds (not really, it’s just amazingly fast) and then go to:

Start blogging!