Install node in /usr/local

Goto https://nodejs.org/en/download Select Linux and x64 if that is what you are running Right click and copy the Download link from the “Standalone Binary (.xz)” button e.g. https://nodejs.org/dist/v22.15.0/node-v22.15.0-linux-x64.tar.xz and download the file Have a look at what is in the archive Run tar with –strip-components and -C /usr/local arguments Look for node