53

Cygwin - How would I find the Cygwin's version which has been installed on my machine? (Windows Vista)

Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109
user339108
  • 12,613
  • 33
  • 81
  • 112

2 Answers2

88

With the uname utility, as on other POSIX systems.

uname -r
ak2
  • 6,629
  • 31
  • 27
  • 7
    Or check the version information of cygwin1.dll using Windows Explorer. – BCran Dec 28 '10 at 21:27
  • @BCran this is more general. I want to know what version of Cygwin had been installed on a failed hard drive from which files were restored. I don't want to execute any files there. – Kaz Oct 10 '20 at 16:11
14

If you want to detect if you're running the 32 bit or 64 bit version, the -m switch will tell you:

uname -m

"i686" for the 32-bit version, "x86_64" if it's 64-bit.

uname -a

..gives you all the information at once. Check man uname for details.

(This is also answered in How do I tell whether my cygwin installation is 32 or 64 bit?)

Community
  • 1
  • 1
Bing
  • 746
  • 5
  • 7