installation

sudo gem install jekyll
jekyll new my-awesome-site
cd my-awesome-site
jekyll serve # watches for changes by default
# => Now browse to http://localhost:4000

jekyll serve watches for changes by default. It serves the site locally on port 4000. To build the site for production, you can use the build command.

jekyll build --watch

configuration