Quick Node JS installation on your device

<p>if the output is not returning a similar one, then let&rsquo;s get it installed by running this command on your Mac&nbsp;<code>brew install curl</code>&nbsp;(<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&nbsp;<code>curl --version</code>&nbsp;then it should give you the output that we&rsquo;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&rsquo;re working on via the command line.</p> </blockquote> <p>NVM is mostly supported on Linux and Mac. It doesn&rsquo;t have support for Windows. But there&rsquo;s a similar tool created by Coreybutler to provide an nvm experience in Windows called&nbsp;<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&nbsp;<code>source ~/.zshrc</code>&nbsp;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>
Tags: Node JS