Post

Setting Up Your Own Blog with Jekyll on Windows

Setting Up Your Own Blog with Jekyll on Windows

A step-by-step guide to installing and using Jekyll (with the Chirpy theme) to build your personal website:

Tutorial for Windows

Quickstart

Themes

1. Install Ruby (with Devkit version)

  • Download the Windows 64-bit Ruby installer with Devkit from the official page:
    Ruby Installer

  • After installation, the command prompt will open automatically to install the necessary MSYS2 software. During installation, either press Enter to accept the default options or select the MSYS2 and MINGW development toolchain option. Close the command prompt when finished.


2. Install Jekyll and Bundler

  • Open the “Start Command Prompt with Ruby” terminal.
  • Update the RubyGems system:

    1
    
    gem update --system
    
  • Install Jekyll and Bundler:

    1
    
    gem install jekyll bundler
    
  • Verify the installation:

    1
    
    jekyll -v
    

3. Choose a Jekyll Theme


4. Download and Set Up the Chirpy Project

  • Run the following commands in your terminal:

    1
    2
    
    git clone https://github.com/cotes2020/jekyll-theme-chirpy.git
    cd jekyll-theme-chirpy
    
  • Install the project dependencies:

    1
    
    bundle install
    

5. Start the Local Server for Preview

  • From the project directory, run:

    1
    
    bundle exec jekyll serve --watch
    
  • The preview URL is usually:
    http://127.0.0.1:4000


6. Further Configuration

  • Check out the official Chirpy theme Wiki for in-depth customization and usage tips:
    jekyll-theme-chirpy/wiki
  • You can also refer to the Chirpy Starter template for a quick start:
    chirpy-starter
This post is licensed under CC BY 4.0 by the author.

Trending Tags