Skip to content

Jekyll โ€” Run and Build

Requirements:

  • Ruby (latest stable), RubyGems, Bundler

Install on macOS (Homebrew):

Terminal window
brew install ruby
gem install bundler jekyll

Windows: Use RubyInstaller (https://rubyinstaller.org), then:

Terminal window
gem install bundler jekyll

Create a new site:

Terminal window
jekyll new my-jekyll-site
cd my-jekyll-site
bundle install

Run locally:

Terminal window
bundle exec jekyll serve

Visit http://localhost:4000

Build for production (output to _site/):

Terminal window
bundle exec jekyll build

Deploy _site/ folder to your static host.