Skip to content

01 Basic Installs

Alcides edited this page Sep 30, 2022 · 11 revisions

01 - Node.js Stack

01.1 Install Node.js stack using default Ubuntu software repositories

  1. Install Node.js:

    1. Install: sudo apt install nodejs
    2. Check Version: node -v (for Ubuntu 22.04 LTS the output is v12.22.9 just for example).
  2. Install NPM (Node.js Package Manager):

    1. Install: sudo apt install npm
    2. Check Version: npm version (for Ubuntu 22.04 LTS the output is following).

image

01.1 Install Node.js stack using SNAP

  1. Remove Node.js:

    1. Remove current install: sudo apt remove nodejs
  2. Remove NPM (Node.js Package Manager):

    1. Remove current install: sudo apt remove npm
    2. Remove files: sudo apt autoremove
  3. Install Node.js:

    1. Install: snap install node --classic
    2. Check Version: node -v (for Ubuntu 22.04 LTS the output is v16.17.1 just for example).
    3. Check Version: npm version (for Ubuntu 22.04 LTS the output is following).

image

Clone this wiki locally