change Node.js install, updated bash command

pull/3611/head
chmistry 11 months ago
parent 9a95ec3adb
commit b481e632ca
  1. 3
      install/immich-install.sh

@ -70,7 +70,8 @@ msg_ok "User immich added"
msg_info "Installing Node.js"
#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 "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)"
$STD su immich -c "nvm install 20"
msg_ok "Installed Node.js"

Loading…
Cancel
Save