I am writing this post on my Mac, running macOS Catalina. In order to follow along, you will need to install Homebrew on your Mac. I also use
rbenvto install Ruby 2.6.5. This is not strictly necessary but I did not want to modify the existing Ruby (2.6.3p62) installation.
(Optional) Install Ruby 2.6.5
(Optional) Install Jekyll-Compose plugin
Jekyll-Compose plugin is not necessary, but it is convenient when creating new posts or pages.
Gemfile and add the following to the bottom of the file.
Now, you can run
bundle exec jekyll draft,
bundle exec jekyll publish and etc, making it easier to create new posts and pages.