{"id":4764,"date":"2019-05-30T09:30:03","date_gmt":"2019-05-30T04:00:03","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=4764"},"modified":"2019-05-30T17:24:41","modified_gmt":"2019-05-30T11:54:41","slug":"how-to-install-node-js-in-ubuntu-16-0-4","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-node-js-in-ubuntu-16-0-4\/","title":{"rendered":"How to Install node js in Ubuntu -16.0.4"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to Install node js in Ubuntu-16.0.4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Date : 29\/05\/2019<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Introduction :<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Node.js<\/strong>&nbsp;is an&nbsp;open-source,&nbsp;cross-platform Java Script run-time environment&nbsp;that executes JavaScript code outside of browser. <br>In this tutorial, we are going to see how to install node.js on ubuntu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisite :<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Linux &#8211; Ubuntu.<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Steps:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1) <\/strong> First we need to update ubuntu software and also its extra packages that is needed, by using following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2) <\/strong> Then to add the Node.js PPA to the system to install Nodejs on Ubuntu, by using following command. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <strong>Note<\/strong> :- we used current release while writing this blog.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install curl python-software-properties\ncurl -sL https:\/\/deb.nodesource.com\/setup_12.x | sudo -E bash -<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3) <\/strong> After added ppa to system, then to Install Node.js, similarly it also install NPM, by using following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install nodejs<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4) <\/strong> Once it&#8217;s installed successfully, to verify or check whether it is install or not, by using following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, it will displays the version of node.js if installed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<br>You find this tutorial helpful? Share with your friends to keep it alive.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install node js in Ubuntu-16.0.4 Date : 29\/05\/2019 Introduction : Node.js&nbsp;is an&nbsp;open-source,&nbsp;cross-platform Java Script run-time environment&nbsp;that executes JavaScript [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[],"class_list":["post-4764","post","type-post","status-publish","format-standard","hentry","category-web-architecture","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1eQ","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4764"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4764\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}