How to Add Node JS Fedora Repository

June 12, 2018 | By the+gnu+linux+evangelist.

GNU/Linux Fedora Adding Node JS Repository

Hi! The Guide shows you Step-by-step How to Add the Node JS Repository for Fedora Supported Releases GNU/Linux Systems.

And with this Node JS Fedora Repo Setup you’ll be able to Install both node.js 16.x LTS, 18.x LTS, 20.x LTS, and Current.

For more insight see the official: NodeJs Repository Documentation.

Again, this Node Repo Setup should be Valid for Fedora 20+.

Finally, this Setup is valid for all the Fedora Based Distros like:

  • Nobara
  • Quebe OS
  • Ultramarine
  • risiOS
How to Add Node JS Fedora Repository - Featured
  1. 1. Terminal QuickStart

    How to QuickStart with Command Line on Fedora

    Bash Shell Fedora QuickStart Guide
  2. 2. Setting Up Node.js Repo

    Then Add Node JS Fedora Repository
    Especially relevant: Node.js 18+ is supported only on Fedora 29+.
    For the 20.x relase use:

    sudo yum install https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y

    Again for 18.x:

    sudo yum install https://rpm.nodesource.com/pub_18.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y

    Otherwise for 16.x:

    sudo yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y

    Finally, due to the quick NodeJs development cycle sometimes the latest Releases may be missing from this list, in case consult: Node.js Repo on Github.

  3. 3. Installing Node.js

    Now to Install NodeJs on Fedora
    Play:

    sudo dnf install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 -y --setopt=nodesource-nodejs.module_hotfixes=1

    Or for Legacy releases:

    sudo yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
  4. 4. Node.js Getting-Started Guide

    Getting-Started with Node.js on GNU/Linux

    Node.js Fedora QuickStart Guide

QuickChic Theme • Powered by WordPress