Facing error on installation of Strapi . " Something went wrong installing the "sharp" module"

I had an issue with Macbook M1 and sharp, here was my workaround so I can use node 18 and a recent strapi (in case pple still searching)