I am trying to install an older version of Titanium CLI using this cmd - sudo npm install –g titanium@3.1.0 and I am getting this error, as I am really new to this, can anyone let me know how to do this?
sudo npm install –g titanium@3.1.0 Password: npm http GET https://registry.npmjs.org/%E2%80%93g npm http GET https://registry.npmjs.org/titanium/3.1.0 npm http 404 https://registry.npmjs.org/%E2%80%93g npm ERR! 404 '%E2%80%93g' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Darwin 13.0.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "–g" "titanium@3.1.0" npm ERR! cwd /Users/rajanishr npm ERR! node -v v0.10.23 npm ERR! npm -v 1.3.17 npm ERR! code E404 npm http 304 https://registry.npmjs.org/titanium/3.1.0 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/rajanishr/npm-debug.log npm ERR! not ok code 0