install npm 5

This commit is contained in:
Valentin 2024-02-23 19:21:03 +01:00
parent 906ecf16da
commit de4e0dbb84
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ read answer
if [[ "$answer" == "y" ]]; then if [[ "$answer" == "y" ]]; then
if [[ -z "$username" ]]; then if [[ -z "$username" ]]; then
username = $(getent passwd 1000 | cut -d: -f1) username = $(getent passwd 1000 | cut -d: -f1)
echo $username
fi fi
su -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\ su -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
export NVM_DIR="$HOME/.nvm" &&\ export NVM_DIR="$HOME/.nvm" &&\