Skip to content

Instantly share code, notes, and snippets.

@e9x
Last active January 13, 2024 04:19
Show Gist options
  • Save e9x/b549f46081ce794914461f2fbb9566bd to your computer and use it in GitHub Desktop.
Save e9x/b549f46081ce794914461f2fbb9566bd to your computer and use it in GitHub Desktop.
NodeJS across Linux distributions

As of 2023-01-02

Distro Package URL Version Released LTS
Debian 12.4 https://packages.debian.org/bookworm/nodejs 18.19.0 2023-11-29
Debian 11.8 https://packages.debian.org/bullseye/nodejs 12.22.12 2021-04-05
Debian 10.13 https://packages.debian.org/buster/nodejs 10.24.0 2021-02-23
Ubuntu 23.10 https://packages.ubuntu.com/mantic/nodejs 18.13.0 2023-01-06
Ubuntu 23.04 https://packages.ubuntu.com/lunar/nodejs 18.13.0 2023-01-06
Ubuntu 22.04 https://packages.ubuntu.com/jammy/nodejs 12.22.9 2022-01-11
Ubuntu 20.04 https://packages.ubuntu.com/focal/nodejs 10.19.0 2020-02-06
Fedora 40 https://packages.fedoraproject.org/pkgs/nodejs20/nodejs/ 20.11.0 2024-01-09
Fedora 39 https://packages.fedoraproject.org/pkgs/nodejs20/nodejs/ 20.10.0 2023-11-22
Fedora 38 https://packages.fedoraproject.org/pkgs/nodejs18/nodejs/ 18.19.0 2023-11-29

Nodesource

Nodesource provides up-to-date NodeJS distributions for a variety of Linux distros, including all the ones listed above.

https://github.com/nodesource/distributions

NVM

You can install NVM and install the latest version of NodeJS, however this requires you to first install your distros version of NodeJS and NPM

https://github.com/nvm-sh/nvm#install--update-script

nvm use latest
@tuocan
Copy link

tuocan commented Jan 8, 2024

this is GARBAGE delete this NOW!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment