Cannot install Strapi CE

To me that says your node version is 10. Are you sure you are running node 16/18 on Rocky Linux 8.

Just a head’s up you also need buildtools and libvips etc, if it’s not installed for SQLite and sharp module.