have Node.js and npm installed and check the installed version, run the following commands:</p>
<div class="gatsby-highlight" data-language="text"><pre class="language-text"><code class="language-text">node -v
npm -v</code></pre></div>
<h3 id="using-a-node-version-manager-to-install-nodejs-and-npm" style="position:relative;"><a href="#using-a-node-version-manager-to-install-nodejs-and-npm" aria-label="using a node version manager to install nodejs and npm permalink" class="header-link-class before"><svg ari