{"id":1189,"date":"2021-01-08T14:59:58","date_gmt":"2021-01-08T09:29:58","guid":{"rendered":"http:\/\/192.168.0.6\/linuxbots\/?p=1189"},"modified":"2023-10-03T23:04:40","modified_gmt":"2023-10-03T17:34:40","slug":"install-node-js-in-ubuntu","status":"publish","type":"post","link":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/","title":{"rendered":"How to Install Node JS in Ubuntu 20.04 or 22.04"},"content":{"rendered":"\n<p>Node.js is an asynchronous event-driven JavaScript runtime built on <a aria-label=\"Chrome\u2019s V8 JavaScript engine (opens in a new tab)\" href=\"https:\/\/v8.dev\/\" target=\"_blank\" rel=\"noreferrer noopener\">Chrome\u2019s V8 JavaScript engine<\/a>. It runs on the server side. It is mainly used for easily building fast and scalable network applications. In this article, you will find ways to <strong>install Node JS in Ubuntu Linux<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"600\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\" alt=\"install node js in ubuntu\" class=\"wp-image-3469\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg 800w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner-300x225.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner-768x576.jpg 768w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner-385x290.jpg 385w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>In this tutorial, we will<strong> Install Node in Ubuntu Linux <\/strong>using two different ways. The first method is by using Ubuntu&#8217;s Official repository and the second is by using the <a aria-label=\"nodesource repository (opens in a new tab)\" href=\"https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md#debinstall\" target=\"_blank\" rel=\"noreferrer noopener\">nodesource repository<\/a>.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d759a94610c\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d759a94610c\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#Latest_Node_js_version\" >Latest Node js version<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#Install_Node_JS_in_Ubuntu_using_Official_repository\" >Install Node JS in Ubuntu using Official repository<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#Install_Node_JS_using_nodesource_repository\" >Install Node JS using nodesource repository<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#Summary\" >Summary :<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Latest_Node_js_version\"><\/span>Latest Node js version<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>At the time of writing this article, the <strong>latest version of the node js<\/strong> is 15. But we will install the LTS version of node js which is version 14. However, if we install the node js using Ubuntu&#8217;s Official repository, then we will not get the latest version of node js.<\/p>\n\n\n\n<p>The official repository of Ubuntu 18.04 LTS has node js version 8.10 and Ubuntu 16.04 LTS has version 4.2. However, if you want to install the latest version of the LTS version of node js then you have to use the nodesource repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Node_JS_in_Ubuntu_using_Official_repository\"><\/span>Install Node JS in Ubuntu using Official repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For this tutorial, we are using Ubuntu 18.04. However, you can follow the same steps for other versions of Ubuntu like 20.04 or 22.04.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 1<\/strong>: Open your terminal and update the repository with the latest package information. Use the below command to update the Ubuntu Repository.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"778\" height=\"156\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/apt-get-update.jpg\" alt=\"apt-get-update\" class=\"wp-image-3470\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/apt-get-update.jpg 778w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/apt-get-update-300x60.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/apt-get-update-768x154.jpg 768w\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li> <strong>Step 2<\/strong>:  After that, Install the node js package using the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install nodejs<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"421\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu.jpg\" alt=\"install latest node on ubuntu linux\" class=\"wp-image-3471\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu.jpg 1000w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu-300x126.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu-768x323.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>  <strong>Step <\/strong>3:  After installing, you can verify the installation by checking node js version. Use the below command to verify the installation.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v\n####OR####\nnode --version<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"274\" height=\"90\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/verify-nodejs-install.jpg\" alt=\"verify node installation on ubuntu linux\" class=\"wp-image-3472\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Node_JS_using_nodesource_repository\"><\/span>Install Node JS using nodesource repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We can <strong>install the latest version of Node js<\/strong> using nodesource repository. But for this tutorial, we will <strong>install the LTS version of node js <\/strong>which is version 12 at this time. So let&#8217;s begin with the first step, which is updating the source repository.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 1:<\/strong> Same as the previous method, we update our repository by using the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li> <strong>Step 2:<\/strong> After that, we have to add the nodesource PPA by running the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -sL https:\/\/deb.nodesource.com\/setup_12.x | sudo -E bash -<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"858\" height=\"424\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/adding-nodesource-ppa.jpg\" alt=\"adding-nodesource-ppa\" class=\"wp-image-3473\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/adding-nodesource-ppa.jpg 858w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/adding-nodesource-ppa-300x148.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/adding-nodesource-ppa-768x380.jpg 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/figure>\n\n\n\n<p> Now the packages of node js version 12 are available on our Ubuntu machine. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 3:<\/strong> After that, install the node js package by running the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install nodejs<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"421\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu.jpg\" alt=\"install latest node on ubuntu linux\" class=\"wp-image-3471\" srcset=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu.jpg 1000w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu-300x126.jpg 300w, https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-latest-nodejs-on-ubuntu-768x323.jpg 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 4:<\/strong> After installing, verify the installation by running the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v\n###OR###\nnode --version<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"93\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/verify-latest-nodejs-install.jpg\" alt=\"verify-latest-nodejs-install\" class=\"wp-image-3475\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Note:<\/strong> As many users search for How to install npm on Ubuntu. I would like to tell you that when we install node js the npm will be installed along with it. You can also verify the installation of npm using the below command.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>npm -v\n###OR###\nnpm --version<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"276\" height=\"88\" src=\"https:\/\/oracle.itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/verify-npn-install.jpg\" alt=\"verify-npn-install\" class=\"wp-image-3476\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary :<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>In the end, Now we have node js and npm installed on Ubuntu. <\/p>\n\n\n\n<p>In this article, We discussed How to <strong>Install Node JS in Ubuntu Linux<\/strong>. You can share your thoughts in the comment section.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Also Read: <a href=\"https:\/\/oracle.itsupportwale.com\/blog\/how-to-install-nginx-on-ubuntu-18-04-server\/\">How To Install Nginx on Ubuntu 18.04 Server<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Node.js is an asynchronous event-driven JavaScript runtime built on Chrome\u2019s V8 JavaScript engine. It runs on the server side. It is mainly used for easily building fast and scalable network applications. In this article, you will find ways to install Node JS in Ubuntu Linux. In this tutorial, we will Install Node in Ubuntu Linux &#8230; <a title=\"How to Install Node JS in Ubuntu 20.04 or 22.04\" class=\"read-more\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\" aria-label=\"Read more  on How to Install Node JS in Ubuntu 20.04 or 22.04\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":3469,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[498,500,504,2,7],"tags":[594,598,528,599,595,596,593,542,597,543,8,248,9],"class_list":["post-1189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-foss","category-linux","category-tutorial","category-tutorials","category-ubuntu","tag-install-node","tag-install-npm-ubuntu","tag-installation","tag-node-install-npm","tag-node-js-download","tag-node-js-install","tag-node-js-version","tag-nodejs","tag-nodejs-install-ubuntu","tag-npm","tag-ubuntu","tag-ubuntu-16-04","tag-ubuntu-18-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale<\/title>\n<meta name=\"description\" content=\"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale\" \/>\n<meta property=\"og:description\" content=\"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"ITSupportWale\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-08T09:29:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-03T17:34:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Techie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Techie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\"},\"author\":{\"name\":\"Techie\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\"},\"headline\":\"How to Install Node JS in Ubuntu 20.04 or 22.04\",\"datePublished\":\"2021-01-08T09:29:58+00:00\",\"dateModified\":\"2023-10-03T17:34:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\"},\"wordCount\":473,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\",\"keywords\":[\"install node\",\"install npm ubuntu\",\"installation\",\"node install npm\",\"node js download\",\"node js install\",\"node js version\",\"nodejs\",\"nodejs install ubuntu\",\"npm\",\"ubuntu\",\"ubuntu 16.04\",\"ubuntu 18.04\"],\"articleSection\":[\"FOSS\",\"Linux\",\"Tutorial\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\",\"name\":\"How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale\",\"isPartOf\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\",\"datePublished\":\"2021-01-08T09:29:58+00:00\",\"dateModified\":\"2023-10-03T17:34:40+00:00\",\"description\":\"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.\",\"breadcrumb\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg\",\"width\":800,\"height\":600,\"caption\":\"install node js in ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/itsupportwale.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Node JS in Ubuntu 20.04 or 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#website\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"name\":\"ITSupportWale\",\"description\":\"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides\",\"publisher\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#organization\",\"name\":\"itsupportwale\",\"url\":\"https:\/\/itsupportwale.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"contentUrl\":\"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png\",\"width\":1119,\"height\":144,\"caption\":\"itsupportwale\"},\"image\":{\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Itsupportwale-298547177495978\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d\",\"name\":\"Techie\",\"sameAs\":[\"https:\/\/itsupportwale.com\",\"iswblogadmin\"],\"url\":\"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale","description":"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale","og_description":"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.","og_url":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/","og_site_name":"ITSupportWale","article_publisher":"https:\/\/www.facebook.com\/Itsupportwale-298547177495978","article_published_time":"2021-01-08T09:29:58+00:00","article_modified_time":"2023-10-03T17:34:40+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg","type":"image\/jpeg"}],"author":"Techie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Techie","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#article","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/"},"author":{"name":"Techie","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d"},"headline":"How to Install Node JS in Ubuntu 20.04 or 22.04","datePublished":"2021-01-08T09:29:58+00:00","dateModified":"2023-10-03T17:34:40+00:00","mainEntityOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/"},"wordCount":473,"commentCount":0,"publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg","keywords":["install node","install npm ubuntu","installation","node install npm","node js download","node js install","node js version","nodejs","nodejs install ubuntu","npm","ubuntu","ubuntu 16.04","ubuntu 18.04"],"articleSection":["FOSS","Linux","Tutorial","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/","url":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/","name":"How to Install Node JS in Ubuntu 20.04 or 22.04 - ITSupportWale","isPartOf":{"@id":"https:\/\/itsupportwale.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg","datePublished":"2021-01-08T09:29:58+00:00","dateModified":"2023-10-03T17:34:40+00:00","description":"Node.js is used for easily building fast and scalable applications. In this article, you will learn how to install node on ubuntu Linux.","breadcrumb":{"@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#primaryimage","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2021\/01\/install-nodejs-on-ubuntu-banner.jpg","width":800,"height":600,"caption":"install node js in ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/itsupportwale.com\/blog\/install-node-js-in-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/itsupportwale.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Node JS in Ubuntu 20.04 or 22.04"}]},{"@type":"WebSite","@id":"https:\/\/itsupportwale.com\/blog\/#website","url":"https:\/\/itsupportwale.com\/blog\/","name":"ITSupportWale","description":"Tips, Tricks, Fixed-Errors, Tutorials &amp; Guides","publisher":{"@id":"https:\/\/itsupportwale.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/itsupportwale.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/itsupportwale.com\/blog\/#organization","name":"itsupportwale","url":"https:\/\/itsupportwale.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","contentUrl":"https:\/\/itsupportwale.com\/blog\/wp-content\/uploads\/2023\/09\/cropped-Logo-trans-without-slogan.png","width":1119,"height":144,"caption":"itsupportwale"},"image":{"@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Itsupportwale-298547177495978"]},{"@type":"Person","@id":"https:\/\/itsupportwale.com\/blog\/#\/schema\/person\/8c5a2b3d36396e0a8fd91ec8242fd46d","name":"Techie","sameAs":["https:\/\/itsupportwale.com","iswblogadmin"],"url":"https:\/\/itsupportwale.com\/blog\/author\/iswblogadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/1189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/comments?post=1189"}],"version-history":[{"count":0,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/posts\/1189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media\/3469"}],"wp:attachment":[{"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/media?parent=1189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/categories?post=1189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsupportwale.com\/blog\/wp-json\/wp\/v2\/tags?post=1189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}