Learn and Discover Open Source with Daily Genuine Experience. From Coding, Front End, Back End, Database, and Static Site Generator.

Table of Content


Goal: Using comfortable CLI environment in Windows for Hugo.

Table of Content

  • Preface: Table of Content

  • 1: Windows: Setting up CLI Environment

  • 2: Hugo: Install

  • 3: Hugo: Run Server

  • What is Next ?

1: Windows: Setting up CLI Environment

I have written the basic setup in separate article in my other blog. You should read this before you begin:

2: Hugo: Install

Installing is pretty easy.

$ choco install hugo

Windows cmder: choco install hugo

3: Hugo: Run Server

Now you can try Hugo as usual, in windows cmder.

$ md d:/cli/test-hugo
$ cd d:/cli/test-hugo/

$ hugo new site .

Windows cmder: hugo new site

Then run server as well

$ cd D:\cli\demo-hugo\
$ hugo server


Web Server is available at http://localhost:1313/ (bind address
Press Ctrl+C to stop

Windows cmder: hugo server

And finally see the result in browser such as example below.

Browser: hugo localhost

What is Next ?

There is other article, that you might need to read. Consider continue reading [ Windows - Chocolatey - Sass ].

Thank you for reading.