Web Niraj
  • Facebook
  • Flickr
  • Github
  • Instagram
  • Linkedin
  • Twitter
  • YouTube
Online portfolio, code examples and developer blog
  • About
  • Contact
  • Portfolio
  • WordPress
Search the site...
  • Home
  • Blog
  • AWS: Install NodeJS 4.x or 5.x on Ubuntu 14

AWS: Install NodeJS 4.x or 5.x on Ubuntu 14

1

If you’re looking to install the latest version of NodeJS on your Ubuntu 14 LTS server, you’ll find that the default package manager only has access to older versions of NodeJS. However, you can easily update apt-get to get the latest version using this tutorial.

To install NodeJS 4.x or 5.x and npm, run one of the install commands below, and optionally the build-essentials package to allow you to compile and install modules.

# Install NodeJS 4.x
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install NodeJS 5.x
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
# Optional - Needed to compile and install native add-ons
sudo apt-get install -y build-essential
view raw install_node.sh hosted with ❤ by GitHub

Run lines 2-3 to install NodeJS 4.x, or lines 6-7 to install NodeJS 5.x.

If you are looking to install the Parse API Server on your Ubuntu machine, make sure you install v4.x.

To install NodeJS on other systems, visit the NodeJS website for instructions.

Amazon Web Services, NodeJS, Tutorial, Ubuntu

One comment on “AWS: Install NodeJS 4.x or 5.x on Ubuntu 14”

  1. Parse.com: Setting up the Open Source Parse API Server | Web Niraj says:
    February 1, 2016 at 10:22 AM

    […] NodeJS v4.1+ (tested with v4.2.6) […]

    Reply

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

StackExchange / StackOverflow

profile for Niraj Shah on Stack Exchange, a network of free, community-driven Q&A sites

Subscribe for updates

Support Me

Buy Me a Coffee

PSN Profile

Tags

ACL Amazon Web Services Android Android 4.4 KitKat Android 5.0 Lollipop Apache Backup Bug Command Line Cordova cPanel / WHM Facebook Facebook Graph API Facebook PHP SDK 4.0 Facebook Social Plugins Fan Page Flash Flat File Geolocation Google Nexus 5 Hacking HTML5 iOS JavaScript jQuery Laravel 5 Linux Mac OS MongoDB NodeJS Parse PDF PHP Plugin Portfolio PS4 Review Security Server SSH SSL Sysadmin Tutorial WordPress WordPress Plugins

© 2011-2026 Niraj Shah
  • Blog
  • Portfolio
  • WordPress
  • About Me
  • Contact Me
  • Privacy Policy