You can install Nodejs in AWS by running this file clone this repository sudo chmode +x filename //example installnode.sh then just ./filename may be it will ask some permission make it yes through this file you will get UFW update Nginx install node install