<p dir="auto">Hi, I am trying to install packages for Atom but almost every single time NPM throws an error. Look below. Thank you very much.</p>
<p dir="auto">Installing “autocomplete-clang@0.6.0” failed.Hide output…</p>
<p dir="auto">npm http GET <a href="https://registry.npmjs.org/atom-space-pen-views" rel="nofollow">https://registry.npmjs.org/atom-space-pen-views</a><br>
npm http GET <a href="https://registry.npmjs.org/underscore-plus" rel="nofollow">https://registry.npmjs.org/underscore-plus</a><br>
npm ERR! not found: git<br>
npm ERR!<br>
npm ERR! Failed using git.<br>
npm ERR! This is most likely not a problem with npm itself.<br>
npm ERR! Please check if you have git installed and in your PATH.</p>
<p dir="auto">npm ERR! System Windows_NT 6.2.9200<br>
npm ERR! command "c:\Users\Rafi\AppData\Local\atom\app-0.174.0\resources\app\apm\node_modules\atom-package-manager\bin\node.exe" "c:\Users\Rafi\AppData\Local\atom\app-0.174.0\resources\app\apm\node_modules\atom-package-manager\node_modules\npm\bin\npm-cli.js" "--globalconfig" "c:\Users\Rafi\AppData\Local\atom\app-0.174.0\resources\app\apm\node_modules\atom-package-manager.apmrc" "--userconfig" "c:\Users\Rafi.atom.apmrc" "install" "C:\Users\Rafi\AppData\Local\Temp\d-115015-992-1xp8dy5\package.tgz" "--target=0.20.0" "--arch=ia32" "--msvs_version=2013"<br>
npm ERR! cwd C:\Users\Rafi\AppData\Local\Temp\apm-install-dir-115015-992-16a707u<br>
npm ERR! node -v v0.10.35<br>
npm ERR! npm -v 1.4.4<br>
npm ERR! code ENOGIT<br>
npm http 304 <a href="https://registry.npmjs.org/atom-space-pen-views" rel="nofollow">https://registry.npmjs.org/atom-space-pen-views</a><br>
npm http 304 <a href="https://registry.npmjs.org/underscore-plus" rel="nofollow">https://registry.npmjs.org/underscore-plus</a><br>
npm</p>
<p dir="auto">Many beginners to apm are flummoxed when they get errors because git is not available.  See <a href="https://discuss.atom.io/t/sync-settings-wont-install/13701" rel="nofollow">https://discuss.atom.io/t/sync-settings-wont-install/13701</a> as one example.</p>
<p dir="auto">APM  should check and see if git works and install git if it doesn't.  Git is a real dependency and should be treated as such.</p>