Installing (and keeping) previous NodeJS Version

Hi All,

I have just moved over to Endeavour. Like it a lot so far and have enjoyed setting up to my likes and needs…

I have a hard requirement that I need to use NodeJS version 18 for my projects. I understand Endeavour is a rolling release model. Is there a prefered / recommended way to be able to install and keep/lock it from updating until the frameworks I use support the current NodJS version 19?

So far I have attempted to download from the ArchLinux archive and install using pacman -U, but while it installs I get errors when trying to run. NodeJS virtualization not prefered - reading around it seems a pain and unreliable.



You don’t downgrade nodejs, you install nodejs-lts-hydrogen.

Also, welcome to the forum!

Also, it might be a better long-term solution to run a sandboxed copy of nodejs for your projects and not rely on the system nodejs.


Wow. That was fast! Thank you very much - I will look into it.


Welcome to the EndeavourOS forum :enos:. I hope you enjoy your time here.