Installation of command prompt

I installed the command prompt but after typing gcc - version it will not show the version its show samthig like thise
gcc–version’ is not recognized as an internal or external command,
operable program or batch file.

Which compiler had you downloaded!.?