Install Jekyll on Mac OSX

Install Jekyll on Mac OSX

This article will show you how to install Jekyll on Mac OSX as well as some plugins for Jekyll that I find to be invaluable.

First, make sure that you have Homebrew installed. If you don't, you can install it as follows: bash /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Now we'll install nodejs, jekyll and a series of really useful plugins for Jekyll:

brew install node
sudo gem install jekyll s3_website jekyll-assets jekyll-minibundle jekyll-sitemap hash-joiner
npm install uglify-js -g

You should be ready to get started at this point. You can test with:

jekyll new testsite
cd testsite
jekyll serve
curl http://localhost:4000

Now open a browser and go to http://localhost:4000. That's it! You're ready to generate some awesome static sites.

comments powered by Disqus