Node 22 Support

Hi there :slight_smile:

Do you know when Rocky Linux will look to support Node.js 22? And will this be for both Rocky 8 and 9 or 9 only?

Thanks
Mike :slight_smile:

I can’t speak to the AppStream repo, but it’s worth mentioning I haven’t had any issues using node 22 with nvm and pnpm via the official node installation script on Rocky 8 + 9 (doc: Node.js — Download Node.js®)

# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash

# download and install Node.js (you may need to restart the terminal)
nvm install 22

# verifies the right Node.js version is in the environment
node -v # should print `v22.11.0`

# verifies the right npm version is in the environment
npm -v # should print `10.9.0`
1 Like

Thanks @xoxdjess :slight_smile:

This will likely be our workaround but we’re really hoping for a version packaged / provided by Rocky Linux distribution rather than a 3rd party thing if we can so was hoping maybe someone had an official line on when this would be looking to be implemented

1 Like

@MikeI The currently under development version of Rocky (9.5), will contain Node.js 22. No major changes are coming to 8.10.

1 Like

thanks @sspencerwire :slight_smile:

Do you have a date yet or expected dat for 9.5s release? Apologies if this is somewhere and I’m being blind/lazy :sweat_smile:

Here explains when versions are generally released: Rocky Linux Release and Version Guide - Rocky Linux Wiki

since RHEL 9.5 was released 12.11.2024 then we are looking at more or less 7 days from then, so next week.

1 Like

Many thanks @iwalker :slight_smile:

1 Like

Ah, I had a look around 11/11/2024 on RH, and couldn’t find anything about 9.5, I now see the release notes are up.