On AWS Glue dev endpoint setup Node and npm without sudo [https://www.johnpapa.net/node-and-npm-without-sudo/]
mkdir /mnt/s3/glue && cd /mnt/s3/glue
wget https://nodejs.org/dist/v16.14.2/node-v16.14.2-linux-x64.tar.xz
tar xvf node-v16.14.2-linux-x64.tar.xz
ln -s node-v16.14.2-linux-x64 node
Add node and npm to the path modifying /home/glue/.bash_profile
$ cat /home/glue/.bash_profile