Skip to content

Instantly share code, notes, and snippets.

@Shawn-Armstrong
Last active February 2, 2023 21:02
Show Gist options
  • Save Shawn-Armstrong/26d793251b7e0e2383e0d07933d28d54 to your computer and use it in GitHub Desktop.
Save Shawn-Armstrong/26d793251b7e0e2383e0d07933d28d54 to your computer and use it in GitHub Desktop.

#Ubuntu_nodejs_install.md

Overview

  • The following document provides instructions on installing the most current Node.js long-term-support (LTS) version.
  • This installation was performed on 12/15/2022 which installed Node.js LTS version 18.12.1 for Ubuntu 20.04.

Instructions

  1. The most current LTS version can be identified on the official Node.js homepage. image

  2. Next, go to the official repository's README.md, "Installation Instructions" section then identify your desired version and execute the referenced Ubuntu command inside a terminal.

shawn@shawn-VirtualBox:~$ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
  1. verify it has been installed with the following command
shawn@shawn-VirtualBox:~$ node --version :: your version will be different
v18.12.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment