Quick Node JS installation on your device
<p>if the output is not returning a similar one, then let’s get it installed by running this command on your Mac <code>brew install curl</code> (<a href="https://brew.sh/" rel="noopener ugc nofollow" target="_blank"><em>what is brew?</em></a>) and wait until the process is done. To verify the installation is completed, you can type <code>curl --version</code> then it should give you the output that we’ve mentioned previously.</p>
<h2>Step 2</h2>
<blockquote>
<p>Node Version Manager (NVM) allows to install different versions of Node, and switch between these versions depending on the project that you’re working on via the command line.</p>
</blockquote>
<p>NVM is mostly supported on Linux and Mac. It doesn’t have support for Windows. But there’s a similar tool created by Coreybutler to provide an nvm experience in Windows called <a href="https://github.com/coreybutler/nvm-windows" rel="noopener ugc nofollow" target="_blank">nvm-windows</a>.</p>
<p>For Linux or Mac installation, you need to run this command:</p>
<p><code>curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash</code></p>
<p>Wait until the process is completed, then ensure you run <code>source ~/.zshrc</code> after that.</p>
<p>To verify your installation is completely installed. Run this command</p>
<p><a href="https://medium.com/@irwansyafani/quick-node-js-installation-on-your-device-cac55a1c4b86"><strong>Learn More</strong></a></p>