title: Google Cloud platform. npm install - (bash) npm command not found. How to repair Google cloud shell
body: <p>I created new project in <a href="https://console.developers.google.com" rel="nofollow">https://console.developers.google.com</a> .
  Cloned one project from git, then issued command:</p>
  
  <pre><code>curl https://sdk.cloud.google.com | bash 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>gcloud init
  </code></pre>
  
  <p>after doing this I'm no longer able to call </p>
  
  <pre><code>npm install
  </code></pre>
  
  <p>command, because cloud shell throws error</p>
  
  <pre><code>bash: npm: command not found
  </code></pre>
  
  <p>how can I revert (repair) Cloud shell to its primary state.</p>
  
  <p>I even can't make Node.js example projects...</p>
  
  <hr>
  
  <p>also</p>
  
  <pre><code> node -v
  </code></pre>
  
  <p>returns </p>
  
  <pre><code> bash: node: command not found
  </code></pre>