install npm 5
This commit is contained in:
parent
906ecf16da
commit
de4e0dbb84
|
@ -172,6 +172,7 @@ read answer
|
|||
if [[ "$answer" == "y" ]]; then
|
||||
if [[ -z "$username" ]]; then
|
||||
username = $(getent passwd 1000 | cut -d: -f1)
|
||||
echo $username
|
||||
fi
|
||||
su -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
|
||||
export NVM_DIR="$HOME/.nvm" &&\
|
||||
|
|
Loading…
Reference in New Issue