Despite the official Linux NodeJS 18.12 build no longer running on an older distro such as CentOS 7, with some effort, you can still build it yourself and run the binary just fine. You do have to rebuild any deps that rely on native modules manually; however, since there's a considerable chance the pre-built natives you fetch won't run with your custom-built Node binary at all (due to GLIBC mismatch)

https://github.com/nodejs/node/issues/43246