Instead of cygwin, I would suggest installing WSL (Windows Subsytem for Linux). Now on windows 10 such a function is available, and you can use the linux command line from your windows 10.
Here is a link: https://docs.microsoft.com/en-us/windows/wsl/install-win10