If you do not have the installation package, then Baidu Cygwin, and then go to the official website to download
After the download is finished, click
Then start the installation:
This is the Welcome screen, then click Next:
The option to install from internal means to download it from the Web.
, you can also choose the install from local Directory
This means installing from a local installation package.
You need to go online to download the installation package first, so here I suggest to choose to download from the network.
Then:
Select the installation directory, here I choose the default location C:\cygwin
Then:
Select where to store the installation files.
Customize here, or you can choose the default location, followed by:
Here the first thought of the connection, followed by:
Choose any of the URLs you'd like to see and click Next. Here is the choice of the network to provide:
Here is still the default choice:
Wait for the installation to download and an icon will appear on the desktop when it finishes.
Click in Enter: LS command
This shows that the Unix/linux directive can be identified and can be used.
Install Cygwin under Windows