If you like to automate your macOS configuration via bash scripts and have recently setup Mojave, you may be wondering how to enable dark mode, the configuration is called “AppleInterfaceStyle” and can be set using the following command. defaults write "Apple Global Domain" "AppleInterfaceStyle" "Dark" If you would like to...