Setup Jekyll on Windows Machine

Step 1:

Install the required software. Jekyll is a Ruby-based static site generator, so you'll need Ruby installed.

Download Ruby:

Visit Ruby Installer for Windows and download Ruby 3.3.6 version.

Install GIT:

Download GIT using this URL: GIT for Window.

Install Node JS:

Download Node JS using this link: Node JS Download.

Step 2:

Install Jekyll.

  1. Open a terminal (Git Bash or Command Prompt).
  2. Run the following command to install Jekyll and Bundler gems:
  3. gem install jekyll bundler
  4. Verify the installation:
  5. jekyll -v

Step 3:

Create a New Jekyll Site.

  1. Navigate to the directory where you want to create your site:
  2. cd path/to/your/directory
  3. Create a new Jekyll site:
  4. jekyll new my-site
  5. Navigate into the site folder:
  6. cd my-site

Step 4:

Build and Serve the Site.

  1. Install required dependencies:
  2. bundle install
  3. Serve the site:
  4. bundle exec jekyll serve
  5. Open your browser and navigate to Validate New Jekyll Site to view your site.