Step-by-step – Node.js Raspberry Pi 3 Installation

March 2, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Preinstallation Checking

    First, possibly Check Node.js Version
    Simply with:

    node -v

    Or:

    nodejs -v

    If it’s not the required one then to Remove it use:

    sudo apt-get --purge remove node

    Or:

    sudo apt-get --purge remove nodejs

    And then again:

    sudo apt-get autoremove

    Finally, Reboot with:

    sudo reboot
  2. 3. Setting Up Node JS Repository

    How to Add Node JS Debian/Ubuntu-based Repository

    Debian/Ubuntu NodeJS Repo Setup

    Eventually to Look up the Device current OS Release execute:

    uname -a
  3. 4. Installing Node Js

    Now to Install NodeJs on Raspberry Pi 3 Debian/Ubuntu based OS
    Simply run:

    sudo apt install -y nodejs

    Or else:

    sudo apt-get install -y nodejs

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress