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

9 lines
122 B
Bash
Executable file

#!/bin/bash
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE";
else
npm install -g n;
n install latest;
fi;