Auto shutdown at night after High sierra upgrade I upgraded to macOS High sierra and now my system shuts down automatically at night. This is quite annoying.

I tried looking in System Preferences > Energy Saver > Schedule… settings but, there's no schedule set.  

Can someone please help me with this.

I am using MacBook Pro 15" Mid 2015
Installing "command line tools" solved this issue. However, I have no clue how they are related.

To install command line tools run following command in terminal.

xcode-select --install