Simply download
KindlePreviewer it comes with a copy of KindleGen. (It'll be installed in the ..\Amazon\Kindle Previewer\lib folder.)
BTW, you don't need to use the command line unless you need to specify non-standard parameters. Just open the source file with KindlePreviewer to automatically compile it to a .mobi file with KindleGen.