Troubleshooting Shell on Windows 10

Message "the input device is not a TTY" happens when running some commands on a Windows 10 environment using Git bash.

NotATty

A way to avoid this problem is to use the bash.exe that is located in your Git installation (c:\Program Files\Git\bin\bash.exe) to start your shell environment instead of the standard Git Bash shortcut.

To achieve this, you may define a shortcut as shown below:

Git Bash Shortcut 1

Git Bash Shortcut 2