First you must install Ruby because Jekyll is a Ruby-based program and needs Ruby to run.
Some extensions Jekyll uses require you to natively build the code using the Ruby Development Kit.
Browse to the RubyDevKit location on your C drive using your Command Line Prompt.
To see the contents of your current directory, type dir
. To move into a directory, type cd foldername
, where “foldername” is the name of the folder you want to enter. To move up a directory, type cd ../
one or more times depending on how many levels you want to move up. To move into your user’s directory, type /users
. The /
at the beginning of the path automatically starts you at the root.
ruby dk.rb init
ruby dk.rb install
If you get stuck, see the official instructions for installing Ruby Dev Kit.
At this point you should have Ruby and Rubygem on your machine.
Now use gem
to install Jekyll:
gem install jekyll
You can now use Jekyll to create new Jekyll sites following the quick-start instructions on Jekyllrb.com.
Although you can use the default command prompt with Windows, it’s recommended that you use Git Bash instead. The Git Bash client will allow you to run shell scripts and execute other Unix commands.
jekyll serve
/
at the end.)© 2017 Your Company, Inc.