Issue
So I've downloaded and unzipped the cmake zip so that I now have this folder cmake-3.20.1-windows-x86_64 on my c drive. but when I try to run cmake commands from the command line I get this error, "Cmake is not recognized as an internal or external command."
I tried adding it to the path like so set PATH=C:\cmake-3.20.1-windows-x86_64\bin%PATH% But then when I try to use cmake again I get the same error as before.
What do I need to do for cmake to work on the command line?
Solution
You should download the Windows installer, available here under Binary distributions
. You need the x86_64 installer if you're on a 64-bit Windows version, or the i386 installer if you're on a 32-bit Windows version (this should also work on 64-bit Windows versions).
For setting the path see this question.
Answered By - icebp