change Node.js install

This commit is contained in:
chmistry 2024-08-28 15:07:29 +02:00
parent 568d82d1a3
commit 51f1779998

View file

@ -35,8 +35,8 @@ msg_info "Installing Node.js"
#TODO script crashes at this point, attempt to install as immich user #TODO script crashes at this point, attempt to install as immich user
#$STD su immich -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash" #$STD su immich -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash"
$STD su immich -c -s /bin/bash "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)" $STD su immich -s /bin/bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)"
$STD su immich -c -s /bin/bash "nvm install 20" $STD su immich -s /bin/bash -c "nvm install 20"
#$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh) #$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
#export PS1=$'\h:\w\$' #export PS1=$'\h:\w\$'