We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsHosting ServicesCloud Servers

How to Install Cygwin on Windows for Linux Tools

Every OS has its own unique features, but there are many useful open-source tools, such as rsync or SSH clients, which are accessible on every major Linux distributions and other platforms – but Windows is usually an exception. A lot of these tools are really predominant for certain tasks – e.g. creating backups, controlling machines remotely – and have no open-source substitute on Windows.

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. It provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

Follow These Steps to Install Cygwin on Windowss

First, visit Cygwin’s install page and download two files:

For 32-bit version: setup-x86.exe with the associated signature file;
For 64-bit version: setup-x86_64.exe with the associated signature file.

Just to be safe, create a text file where you will save the content of Cygwin’s public key. Let’s save the file to a safe place with the name ‘cygwin_public.txt’.

Run the setup file, select the root folder for Cygwin. Remember this folder as we will refer to it as ROUTE in the future. Click next a few times, then choose “install from Internet”, select a mirror site.


Select packages: search for rsync, OpenSSH, OpenSSL and Dos2Unix individually and mark every package associated with them for install. It’s enough to install the binaries (Bin?), no need for the source files (Src?). If everything went well, you will have packages marked for install in the Debug, Devel, Libs, Net and Utils categories.

In the next step, Cygwin will recommend to install the dependencies for the packages which you should accept.Proceed, wait for the installer, and then end the installation.

Go to the directory where you installed Cygwin, and launch the cygwin.bat file to start the terminal.

Now you should have Linux-like command prompt available for your use. Good luck!

Rate this Tutorial:
No CommentsLeave a Comment