Preface
Goal: Using comfortable CLI environment in Windows for Hugo.
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
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 .
Then run server as well
$ cd D:\cli\demo-hugo\
$ hugo server
...
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
And finally see the result in browser such as example below.
What is Next ?
There is other article, that you might need to read. Consider continue reading [ Windows - Chocolatey - Sass ].
Thank you for reading.