title: Cordova Installation issue :not installed properly and cordova command is working only on c:\>
body: <p>I followed <a href="https://cordova.apache.org/docs/en/latest/guide/cli/" rel="nofollow">https://cordova.apache.org/docs/en/latest/guide/cli/</a>
  and <a href="https://www.youtube.com/watch?v=Vngqn6pS74A" rel="nofollow">https://www.youtube.com/watch?v=Vngqn6pS74A</a> to install cordova.
  I have node 4.4.5 version.</p>
  
  <p>When I gave the command <strong>C:>npm install -g cordova</strong> below are created in C drive seperately (not inside a one folder)</p>
  
  <p>C:\</p>
  
  <ul>
  <li>node_modules (folder)</li>
  <li>cordova (win command script) </li>
  <li>cordova (file)</li>
  </ul>
  
  <p>I also get bellow errors,</p>
  
  <pre><code>npm WARN engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"}       
   (current: {"node":"4.4.5","npm":"2.15.5"})
   npm WARN deprecated lodash-node@2.4.1: This package has been discontinued 
   in favor of lodash@^4.0.0.
  </code></pre>
  
  <p>when I type C:>cordova, it respnds the command. cordova version installed is 6.2.0</p>
  
  <p>But if I call cordova in other directory 
  eg: <strong>C:\CordovaProjects>cordova</strong></p>
  
  <p>then cordova command "<strong>is not recognized as an internal or external command</strong>"</p>
  
  <p>What I am I doing wrong?</p>
  
  <p>Thanks
  Mathee</p>
  
  <p>p.s </p>
  
  <pre><code>C:\Users\MatheeshaF&gt;npm config list
  ; cli configs
  user-agent = "npm/2.15.5 node/v4.4.5 win32 x64"
  
  ; userconfig C:\Users\MatheeshaF\.npmrc
  prefix = "C:\\"
  
  ; builtin config undefined
  
  ; node bin location = C:\Program Files\nodejs\node.exe
  ; cwd = C:\Users\MatheeshaF
  ; HOME = C:\Users\MatheeshaF
  ; 'npm config ls -l' to show all defaults.
  </code></pre>
  
  <p>with help of comments I managed to create a project. still cannot add platform.
  Get below errors,</p>
  
  <pre><code> C:\CordovaProjects\TestApp&gt;cordova platform add android
      Error: Failed to fetch platform android
      Probably this is either a connection problem, or platform spec is incorrect.
      Check your connection and platform name/version/URL.
      Error: connect EACCES 103.245.222.162:443
  </code></pre>