Cygwin is a mature tool for getting Linux command line environment on Windows.
It is an environment for developers. In the installation wizard one can choose which components to install. For example, if one wish to have software development environment with compilers, or one wish to have X-window system.
For example, xclock (below) is part of cygwin-X.