jekyll , tutorial ,

Options for creating a new site with Jekyll

Pankaj Pankaj Follow Jul 18, 2020 · 1 min read
Options for creating a new site with Jekyll
Share this

jekyll new <PATH> installs a new Jekyll site at the path specified (relative to current directory). In this case, Jekyll will be installed in a directory called myblog. Here are some additional details:

  • To install the Jekyll site into the directory you’re currently in, run jekyll new . If the existing directory isn’t empty, you can pass the –force option with jekyll new . –force.
  • jekyll new automatically initiates bundle install to install the dependencies required. (If you don’t want Bundler to install the gems, use jekyll new myblog --skip-bundle.)
  • By default, the Jekyll site installed by jekyll new uses a gem-based theme called Minima. With gem-based themes, some of the directories and files are stored in the theme-gem, hidden from your immediate view.
  • We recommend setting up Jekyll with a gem-based theme but if you want to start with a blank slate, use jekyll new myblog --blank
  • To learn about other parameters you can include with jekyll new, type jekyll new --help.
Join Newsletter
Get the latest news right in your inbox. We never spam!
Pankaj
Written by Pankaj Follow
Hi, I am Pankaj, the author of Foqat. I hope you like it!
💌 Want to leave a comment?

If you have any feedback/questions regarding this post then feel free to reach out to me on Twitter