<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
    <channel>
        
        <title>
            <![CDATA[ install - freeCodeCamp.org ]]>
        </title>
        <description>
            <![CDATA[ Browse thousands of programming tutorials written by experts. Learn Web Development, Data Science, DevOps, Security, and get developer career advice. ]]>
        </description>
        <link>https://www.freecodecamp.org/news/</link>
        <image>
            <url>https://cdn.freecodecamp.org/universal/favicons/favicon.png</url>
            <title>
                <![CDATA[ install - freeCodeCamp.org ]]>
            </title>
            <link>https://www.freecodecamp.org/news/</link>
        </image>
        <generator>Eleventy</generator>
        <lastBuildDate>Fri, 15 May 2026 09:49:10 +0000</lastBuildDate>
        <atom:link href="https://www.freecodecamp.org/news/tag/install/rss.xml" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        
            <item>
                <title>
                    <![CDATA[ How to Install Node on a MacOS, Linux, or Windows Machine Using NVM ]]>
                </title>
                <description>
                    <![CDATA[ By Adeel Imran Before you can start making super awesome apps in NodeJS, you have to install it. Fortunately, installing NodeJS is super simple. In this tutorial we will cover how to install NodeJS/NPM in macOS/linux Windows Once you install NodeJS... ]]>
                </description>
                <link>https://www.freecodecamp.org/news/how-to-install-node-in-your-machines-macos-linux-windows/</link>
                <guid isPermaLink="false">66d45d6bbd438296f45cd38f</guid>
                
                    <category>
                        <![CDATA[ install ]]>
                    </category>
                
                    <category>
                        <![CDATA[ node ]]>
                    </category>
                
                    <category>
                        <![CDATA[ node js ]]>
                    </category>
                
                    <category>
                        <![CDATA[ npm ]]>
                    </category>
                
                    <category>
                        <![CDATA[ Tutorial ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ freeCodeCamp ]]>
                </dc:creator>
                <pubDate>Mon, 22 Jun 2020 21:42:19 +0000</pubDate>
                <media:content url="https://cdn-media-2.freecodecamp.org/w1280/5f9c9a1a740569d1a4ca238a.jpg" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>By Adeel Imran</p>
<p>Before you can start making super awesome apps in NodeJS, you have to install it. Fortunately, installing NodeJS is super simple.</p>
<p>In this tutorial we will cover how to install NodeJS/NPM in</p>
<ul>
<li>macOS/linux</li>
<li>Windows</li>
</ul>
<p>Once you install NodeJS/NPM, you can easily upgrade/downgrade to any Node version with one command. The following video tutorial shows you how to download NodeJS on your machine.</p>
<h2 id="heading-installation-guide-for-mac-os-amp-linux">Installation guide for Mac OS &amp; Linux</h2>
<div class="embed-wrapper">
        <iframe width="560" height="315" src="https://www.youtube.com/embed/TmT_CGFnUuM" style="aspect-ratio: 16 / 9; width: 100%; height: auto;" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" loading="lazy"></iframe></div>
<p>Open a new terminal. Type the following and hit enter:</p>
<pre><code>curl -o- https:<span class="hljs-comment">//raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash</span>
</code></pre><p>Close your terminal, then open a new one and type this:</p>
<pre><code>nvm ls
</code></pre><p>You will see something like this:</p>
<pre><code>system
iojs -&gt; N/A (<span class="hljs-keyword">default</span>)
node -&gt; stable (-&gt; N/A) (<span class="hljs-keyword">default</span>)
unstable -&gt; N/A (<span class="hljs-keyword">default</span>)
<span class="hljs-attr">nvm_list_aliases</span>:<span class="hljs-number">36</span>: no matches found: <span class="hljs-regexp">/Users/</span>adeelimran/.nvm/alias/lts<span class="hljs-comment">/*</span>
</code></pre><p>Next in your terminal type:</p>
<pre><code>nvm install <span class="hljs-number">12.18</span><span class="hljs-number">.1</span>
</code></pre><p>Once it is installed, it is ready to be used. To use this version, just type this in your terminal:</p>
<pre><code>nvm use <span class="hljs-number">12.18</span><span class="hljs-number">.1</span>
</code></pre><p>Now that it is installed let's check it by doing the following:</p>
<pre><code>node --v
</code></pre><p>And that is it – you are done. Have fun.</p>
<p>Now if, in the future, for some reason you want to uninstall NVM (node version manager) simply open up your terminal and type the following:</p>
<pre><code>rm -rf $NVM_DIR ~<span class="hljs-regexp">/.npm ~/</span>.bower
</code></pre><h2 id="heading-installation-guide-for-windows">Installation guide for Windows</h2>
<div class="embed-wrapper">
        <iframe width="560" height="315" src="https://www.youtube.com/embed/QWdSDo9V1Ho" style="aspect-ratio: 16 / 9; width: 100%; height: auto;" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" loading="lazy"></iframe></div>
<p>### </p>
<p>First, go to <code>nvm-windows</code> repositories releases section <a target="_blank" href="https://github.com/coreybutler/nvm-windows/releases">https://github.com/coreybutler/nvm-windows/releases</a>. Select the latest release. </p>
<p>Next choose the <code>nvm-setup.zip</code> file and download it.</p>
<p><img src="https://www.freecodecamp.org/news/content/images/2020/06/tempsnip.png" alt="Image" width="600" height="400" loading="lazy"></p>
<p>Once the file is downloaded, unzip and click on the installer and follow the steps. (I am using <a target="_blank" href="https://www.7-zip.org/">7zip</a> for .zip file extraction, because it is FREE.)</p>
<p>Then to check if <code>nvm</code> is properly installed, open a new command prompt terminal and type <code>nvm</code>. Once it is verified that it is installed you can move on to the next step.</p>
<p>Install NodeJS using <code>nvm</code> like this:</p>
<pre><code>nvm install &lt;version_number&gt; <span class="hljs-comment">// let's assume it's 12.18.1</span>
</code></pre><p>The version can be a NodeJS version or "latest" (for the latest stable version).</p>
<p>In order to use the specific node version you just installed, in your terminal simply type the following:</p>
<pre><code>nvm use <span class="hljs-number">12.18</span><span class="hljs-number">.1</span>;
</code></pre><p>Check the node version with node -v. This should output v12.18.1 in your terminal.</p>
<p>If you want to install another version of Node, repeat the steps with a different version.</p>
<p>You should now have a working version of NodeJS running on your machine. Happy coding folks. :)</p>
<p>Let me know if you found this guide helpful. Drop me a message on <a target="_blank" href="https://twitter.com/adeelibr">twitter</a> (<a target="_blank" href="https://twitter.com/adeelibr">twitter.com/adeelibr</a>).</p>
 ]]>
                </content:encoded>
            </item>
        
    </channel>
</rss>
