Install Jekyll on Windows

Install Jekyll on Windows

set up Jekyll locally using Chocolatey

In this installation guide we’ll use Windows 10 & package manager Chocolatey. These instructions should work for older versions of Windows but they have not been tested.

Install Chocolatey

Find Command Prompt (cmd) in All Apps -> Windows System -> Command Prompt. Right click on the icon, select “More” then “Run as administrator”.

Use the following command to install Chocolatey – a package manager for Windows:

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Close Command Prompt and open it again to make Chocolatey available, remember to run the Command Prompt as administrator.

Install Ruby by Chocolatey

Then we’ll install ruby.

choco install ruby -y

Close Command Prompt and open it once again to make Ruby available, remember to run the Command Prompt as administrator.

Install Jekyll using Gem

And now we can install Jekyll.

gem install jekyll

After that, we can test Jekyll is working by checking the version of Jekyll.

jekyll -v

You can visit Run Jekyll on Windows for more information.

林宏

Frank Lin

Hey, there! This is Frank Lin (@flinhong), one of the 1.4 billion 🇨🇳. This 'inDev. Journal' site holds the exploration of my quirky thoughts and random adventures through life. Hope you enjoy reading and perusing my posts.

YOU MAY ALSO LIKE

Host Jekyll Site on Google Firebase with free SSL

Tutorials

2016.07.02

Host Jekyll Site on Google Firebase with free SSL

Firebase Hosting is a developer focused static web hosting provider that is super fast, secure and reliable. You can quickly and easily deploy your static websites to a global content-delivery network (CDN) with a single command.

npm install, concerns for me

Tutorials

2018.04.14

npm install, concerns for me

While learning Node.js, install packages is a commonly operation. However, as a newbie, I might install the packages not in the right way. So taking this note to refresh my mind on npm installs.

TOC / 目录

TRENDING