Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to set up Jekyll

How to install Jekyll

  • You must have the latest version of Xcode installed (4.6.x), which can be downloaded from the App Store.
  • If you have an older version of Xcode, you must uninstall it first.
  • After the new version of Xcode is installed, go to Xcode > Preferences > Downloads > Command Line Tools and click "Install".

Now, let's try installing Jekyll.

gem install jekyll

If you're getting an error about RubyGems being out of date, the following command will update RubyGems to the latest version.

gem update --system

How to create a Jekyll project

jekyll new my-awesome-site

Start your engines

cd my-awesome-site
jekyll serve -w

Now browse to http://localhost:4000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.