mirror of https://github.com/tteck/Proxmox.git
change Node.js install
This commit is contained in:
parent
c9351f3c6f
commit
5691eeb9ab
install
|
@ -36,7 +36,10 @@ msg_info "Installing Node.js"
|
|||
|
||||
#$STD su immich -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash"
|
||||
su immich -s /bin/bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)"
|
||||
su immich -s /bin/bash -c ". ~/.bashrc"
|
||||
#su immich -s /bin/bash -c ". ~/.bashrc"
|
||||
su immich -s /bin/bash -c 'export NVM_DIR="$HOME/.nvm"'
|
||||
su immich -s /bin/bash -c '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"'
|
||||
su immich -s /bin/bash -c '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"'
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue