PortValhalla/scripts/Common/Software/n/install.sh

9 lines
122 B
Bash
Raw Normal View History

2024-03-20 21:40:37 +00:00
#!/bin/bash
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE";
else
npm install -g n;
n install latest;
fi;