{"id":302,"date":"2022-06-01T06:17:50","date_gmt":"2022-06-01T05:17:50","guid":{"rendered":"http:\/\/erapiditsolutions.com\/erapidblog\/?p=302"},"modified":"2022-06-01T11:10:17","modified_gmt":"2022-06-01T10:10:17","slug":"node-installation-procedure-on-ubuntu","status":"publish","type":"post","link":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/","title":{"rendered":"Node Installation Procedure on Ubuntu"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"> Method 1   <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install nodeJs using ubuntu official repository<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Here user can Install the default version of the installed ubuntu version <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <strong>Step 1:<\/strong> Open your terminal or press Ctrl + Alt + T <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong> Step 2:<\/strong> To install node.js use the following command: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt install nodejs<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Once\ninstalled, verify it by checking the installed version using the following\ncommand:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>node -v or node \u2013version<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: It is recommended to install Node Package Manager(NPM) with Node.js.It is an open source library for node js<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt install npm<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>npm -v or npm \u2013version<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Install node using NodeSource Repository on ubuntu<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here the user can install the desired version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong> Open your terminal or press Ctrl + Alt + T and use the following commands to update and upgrade the package manager:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt-get update<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt-get upgrade<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> Install Python software libraries using the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt-get install python-software-properties<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3: <\/strong>Add Node.js PPA to the system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>curl -sL https:\/\/deb.nodesource.com\/setup_10.x | sudo -E bash \u2013<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: Here, we are installing node.js version 10, if you want to install version 11, you can replace setup_10.x with setup_11.x.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 4: <\/strong>To Install Node.js and NPM to your Ubuntu machine, use the command given below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>sudo apt-get install nodejs<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5: <\/strong>Once installed, verify it by checking the installed version using the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>node -v or node \u2013version<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>npm -v or npm \u2013version<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Finally, you have successfully installed Node.js and NPM on your Ubuntu machine.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Install node version manager on ubuntu<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Open\nterminal<\/li><li>wget\n-qO- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.34.0\/install.sh | bash<\/li><li>export\nNVM_DIR=&#8221;$HOME\/.nvm&#8221;<\/li><li>[ -s\n&#8220;$NVM_DIR\/nvm.sh&#8221; ] &amp;&amp; \\. &#8220;$NVM_DIR\/nvm.sh&#8221;<\/li><li>[ -s\n&#8220;$NVM_DIR\/bash_completion&#8221; ] &amp;&amp; \\.\n&#8220;$NVM_DIR\/bash_completion&#8221;<\/li><li>Execute\n&nbsp; <\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>nvm install 8<\/li><li>nvm install 12.20.2<\/li><li>To switch from one version to another use the command<\/li><li>nvm use 12.20.2<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Method 1 Install nodeJs using ubuntu official repository Here user can Install the default version of the installed ubuntu version Step 1: Open your terminal or press Ctrl + Alt + T Step 2: To install node.js use the following command: sudo apt install nodejs Step 3: Once installed, verify it by checking the installed &#8230; <a title=\"Node Installation Procedure on Ubuntu\" class=\"read-more\" href=\"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/\" aria-label=\"Read more about Node Installation Procedure on Ubuntu\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-technical-write-ups"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Node Installation Procedure on Ubuntu &#187; eRapidIT Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Node Installation Procedure on Ubuntu &#187; eRapidIT Blog\" \/>\n<meta property=\"og:description\" content=\"Method 1 Install nodeJs using ubuntu official repository Here user can Install the default version of the installed ubuntu version Step 1: Open your terminal or press Ctrl + Alt + T Step 2: To install node.js use the following command: sudo apt install nodejs Step 3: Once installed, verify it by checking the installed ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"eRapidIT Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/erapidit\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/erapidit\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-01T05:17:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-01T10:10:17+00:00\" \/>\n<meta name=\"author\" content=\"erapidblog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"erapidblog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/\"},\"author\":{\"name\":\"erapidblog\",\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#\\\/schema\\\/person\\\/20bf995d0197ae5f88dafa96a98d8b44\"},\"headline\":\"Node Installation Procedure on Ubuntu\",\"datePublished\":\"2022-06-01T05:17:50+00:00\",\"dateModified\":\"2022-06-01T10:10:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/\"},\"wordCount\":315,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#\\\/schema\\\/person\\\/20bf995d0197ae5f88dafa96a98d8b44\"},\"articleSection\":[\"Technical Write-ups\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/\",\"name\":\"Node Installation Procedure on Ubuntu &#187; eRapidIT Blog\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#website\"},\"datePublished\":\"2022-06-01T05:17:50+00:00\",\"dateModified\":\"2022-06-01T10:10:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/node-installation-procedure-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Node Installation Procedure on Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#website\",\"url\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/\",\"name\":\"eRapidIT Blog\",\"description\":\"A blog from an IT Consultant\",\"publisher\":{\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#\\\/schema\\\/person\\\/20bf995d0197ae5f88dafa96a98d8b44\"},\"alternateName\":\"erapiditblog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/#\\\/schema\\\/person\\\/20bf995d0197ae5f88dafa96a98d8b44\",\"name\":\"erapidblog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/cropped-cropped-cropped-logo_erapidit.jpg\",\"url\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/cropped-cropped-cropped-logo_erapidit.jpg\",\"contentUrl\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/cropped-cropped-cropped-logo_erapidit.jpg\",\"width\":240,\"height\":48,\"caption\":\"erapidblog\"},\"logo\":{\"@id\":\"http:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/cropped-cropped-cropped-logo_erapidit.jpg\"},\"description\":\"eRapidiT has been providing IT professional services and marketing tactics to various small business industries for the last 6 years. Our primary aim is in the quality of the services and we are confident in our work style and ensure our responsibility is completed only when our works starts working for the client. We support each and every step when the client takes new decisions on their paths.\",\"sameAs\":[\"http:\\\/\\\/www.erapiditsolutions.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/erapidit\",\"https:\\\/\\\/www.instagram.com\\\/erapidit\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/erapidit\\\/?viewAsMember=true\"],\"url\":\"https:\\\/\\\/erapiditsolutions.com\\\/erapidblog\\\/author\\\/erapidblog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Node Installation Procedure on Ubuntu &#187; eRapidIT Blog","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:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/","og_locale":"en_GB","og_type":"article","og_title":"Node Installation Procedure on Ubuntu &#187; eRapidIT Blog","og_description":"Method 1 Install nodeJs using ubuntu official repository Here user can Install the default version of the installed ubuntu version Step 1: Open your terminal or press Ctrl + Alt + T Step 2: To install node.js use the following command: sudo apt install nodejs Step 3: Once installed, verify it by checking the installed ... Read more","og_url":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/","og_site_name":"eRapidIT Blog","article_publisher":"https:\/\/www.facebook.com\/erapidit","article_author":"https:\/\/www.facebook.com\/erapidit","article_published_time":"2022-06-01T05:17:50+00:00","article_modified_time":"2022-06-01T10:10:17+00:00","author":"erapidblog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"erapidblog","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/"},"author":{"name":"erapidblog","@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#\/schema\/person\/20bf995d0197ae5f88dafa96a98d8b44"},"headline":"Node Installation Procedure on Ubuntu","datePublished":"2022-06-01T05:17:50+00:00","dateModified":"2022-06-01T10:10:17+00:00","mainEntityOfPage":{"@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/"},"wordCount":315,"commentCount":0,"publisher":{"@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#\/schema\/person\/20bf995d0197ae5f88dafa96a98d8b44"},"articleSection":["Technical Write-ups"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/","url":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/","name":"Node Installation Procedure on Ubuntu &#187; eRapidIT Blog","isPartOf":{"@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#website"},"datePublished":"2022-06-01T05:17:50+00:00","dateModified":"2022-06-01T10:10:17+00:00","breadcrumb":{"@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/erapiditsolutions.com\/erapidblog\/node-installation-procedure-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/erapiditsolutions.com\/erapidblog\/"},{"@type":"ListItem","position":2,"name":"Node Installation Procedure on Ubuntu"}]},{"@type":"WebSite","@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#website","url":"http:\/\/erapiditsolutions.com\/erapidblog\/","name":"eRapidIT Blog","description":"A blog from an IT Consultant","publisher":{"@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#\/schema\/person\/20bf995d0197ae5f88dafa96a98d8b44"},"alternateName":"erapiditblog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/erapiditsolutions.com\/erapidblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"http:\/\/erapiditsolutions.com\/erapidblog\/#\/schema\/person\/20bf995d0197ae5f88dafa96a98d8b44","name":"erapidblog","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"http:\/\/erapiditsolutions.com\/erapidblog\/wp-content\/uploads\/2021\/07\/cropped-cropped-cropped-logo_erapidit.jpg","url":"http:\/\/erapiditsolutions.com\/erapidblog\/wp-content\/uploads\/2021\/07\/cropped-cropped-cropped-logo_erapidit.jpg","contentUrl":"http:\/\/erapiditsolutions.com\/erapidblog\/wp-content\/uploads\/2021\/07\/cropped-cropped-cropped-logo_erapidit.jpg","width":240,"height":48,"caption":"erapidblog"},"logo":{"@id":"http:\/\/erapiditsolutions.com\/erapidblog\/wp-content\/uploads\/2021\/07\/cropped-cropped-cropped-logo_erapidit.jpg"},"description":"eRapidiT has been providing IT professional services and marketing tactics to various small business industries for the last 6 years. Our primary aim is in the quality of the services and we are confident in our work style and ensure our responsibility is completed only when our works starts working for the client. We support each and every step when the client takes new decisions on their paths.","sameAs":["http:\/\/www.erapiditsolutions.com\/","https:\/\/www.facebook.com\/erapidit","https:\/\/www.instagram.com\/erapidit\/","https:\/\/www.linkedin.com\/company\/erapidit\/?viewAsMember=true"],"url":"https:\/\/erapiditsolutions.com\/erapidblog\/author\/erapidblog\/"}]}},"_links":{"self":[{"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":6,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/posts\/302\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erapiditsolutions.com\/erapidblog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}