If you're a Windows user who's not inclined to install Linux alongside it, there are two ways to options. Microsoft are currently developing a feature called
Windows Subsystem for Linux (aka
Bash On Ubuntu on Windows) to provide a Linux command-line interface on Windows. If you have Windows 10 then you can set up this feature by following
this guide, and then all the instructions described for Linux/Mac OS X above can used directly.