How to completely uninstall/remove cygwin from windows10

Steps for removal

  1. open powershell with administrator privilege.
  2. run takeown /f PATH_TO_CYGWIN /r /d y, for me, PATH_TO_CYGWIN = C:\ENVs\MinGW64.
  3. run icacls PATH_TO_CYGWIN /t /grant everyone:F
  4. run del PATH_TO_CYGWIN.
  5. check if the files are deleted and delete the residual files.

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注