{ claus.conrad }

RHEL

https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux

Commercial Linux distribution by [Red Hat](…/Red Hat/)

Resources

FAQ

Install global Node.js packages as a regular user

# Create a directory for global packages
mkdir ~/.npm-global
# Configure npm to use it
npm config set prefix '~/.npm-global'
# Add to your PATH (add this line to ~/.bashrc or ~/.zshrc)
export PATH=~/.npm-global/bin:$PATH
# Reload your shell configuration
source ~/.bashrc  # or source ~/.zshrc

Upgrade Node.js from v16 to v22

sudo dnf module enable nodejs:22
sudo dnf install npm
# Confirm with `y` to update

List installed packages

rpm -qa

List installable packages

yum list all

Alternatives

Binary compatible

  • Fedora - the upstream, community distro
  • CentOS Stream

    CentOS Stream provides a mid-point in the RHEL development cycle. Advancements in the Linux kernel and supporting components make their way to the Fedora Project, which packages and delivers the leading-edge Fedora Linux operating system every six months. Those innovations periodically make their way downstream - not straight into RHEL, but into CentOS Stream, and then into RHEL.