---
title: "How to Install Jekyll and Launch a New Site"
description: "In this article, we will cover a basic installation of the Jekyll static site generator. Then, we will create and launch the default Jekyll site, which you can later customize. To learn more about..."
url: https://www.inmotionhosting.com/support/website/jekyll/how-to-install-jekyll/
date: 2016-11-14
modified: 2026-01-22
author: "Christopher Maiorana"
categories: ["Jekyll"]
type: post
lang: en
---

# How to Install Jekyll and Launch a New Site

In this article, we will cover a basic installation of the Jekyll static site generator. Then, we will create and launch the default Jekyll site, which you can later customize.

To learn more about what Jekyll is and how you can use it, check out the previous article regarding [What is Jekyll](https://www.inmotionhosting.com/support/website/jekyll/what-is-jekyll/)?

## Moving Forward with a New Jekyll Installation

This tutorial starts on the command line, and you will need to revisit the command line quite often throughout using Jekyll. But that is no reason to fear! You may find the commands involved are lightweight and easy to remember. After a few practice runs, you will have them down.

Follow along with the steps below to install Jekyll and launch a new site.

1. Open your favorite Terminal client.
2. Type `sudo gem install Jekyll`. (Sudo privilege may or not be required depending on your user configuration.)![install Jekyll sudo](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-02.png)
3. Provide `sudo` password.![jekyll sudo password](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-03.png)
4. Change directory to the location where you want your new site files to reside. For example, if you want to save your site files to the desktop, type `cd Desktop`.![jekyll directory](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-04.png)
5. To create your site type `jekyll new` and the desired name for the directory. For example, `jekyll new example`.![create with jekyll new](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-05.png)
6. Change directories into the location of the site files. For example, type `cd example`.![jekyll change directories](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-06.png)
7. To make sure everything was installed properly, launch the example site by typing `jekyll serve`.![jekyll launch example site](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-07.png)
8. To see the site, visit this address in your browser: `https://127.0.0.1:4000`. Alternatively, you can browse to `localhost:4000`.![jekyll active sample site](https://www.inmotionhosting.com/support/wp-content/uploads/2016/11/installJekyll-08.png)

Well done on completing this tutorial! You can now install and launch a Jekyll site. Stay tuned, as we work deeper into Jekyll to customize our site.

Learn how to manage critical server administration functions, cPanel and WebHost Manager (WHM) with our [Managed VPS Hosting Product Guide](https://www.inmotionhosting.com/support/product-guides/vps-hosting/).
