Jekyll

Jekyll on Windows

While Windows is not an officially-supported platform, it can be used to run Jekyll with the proper tweaks

Installing Ruby and Jekyll

Installation via RubyInstaller

The easiest way to install Ruby and Jekyll is by using the RubyInstaller for Windows.

RubyInstaller is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.

We only cover RubyInstaller-2.4 and newer here. Older versions need to install the Devkit manually.

  1. Download and install a Ruby+Devkit version from RubyInstaller Downloads. Use default options for installation.

  2. Run the ridk install step on the last stage of the installation wizard. This is needed for installing gems with native extensions. You can find additional information regarding this in the RubyInstaller Documentation

  3. Open a new command prompt window from the start menu, so that changes to the PATH environment variable becomes effective. Install Jekyll and Bundler using gem install jekyll bundler

  4. Check if Jekyll has been installed properly: jekyll -v

``

``

Windows Subsystem for Linux Installation Guide for Windows 10

In order to use the wsl --install simplified install command, you must:

  • Install a preview build of Windows 10 (OS build 20262 or higher).

  • Open a command line window with Administrator privileges

Once those requirements are met, to install WSL:

  • Enter this command in the command line you've opened in Admin mode: wsl.exe --install

  • Restart your machine

The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for files to de-compress and be stored on your PC. All future launches should take less than a second.

You will then need to create a user account and password for your new Linux distribution.

Last updated

Was this helpful?