mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-19 12:56:01 +00:00
change Node.js install
This commit is contained in:
@@ -40,12 +40,11 @@ msg_info "Installing Node.js"
|
||||
su immich -s /usr/bin/bash <<EOF
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)
|
||||
source ~/.bashrc
|
||||
export NVM_DIR="\$HOME/.nvm"
|
||||
[ -s "\$NVM_DIR/nvm.sh" ] && \. "\$NVM_DIR/nvm.sh"
|
||||
[ -s "\$NVM_DIR/bash_completion" ] && \. "\$NVM_DIR/bash_completion"
|
||||
EOF
|
||||
#export NVM_DIR="\$HOME/.nvm"
|
||||
#[ -s "\$NVM_DIR/nvm.sh" ] && \. "\$NVM_DIR/nvm.sh"
|
||||
#[ -s "\$NVM_DIR/bash_completion" ] && \. "\$NVM_DIR/bash_completion"
|
||||
#EOF
|
||||
su immich -p -s /usr/bin/bash -c "nvm install 20"
|
||||
su immich -s /usr/bin/bash -c "nvm install 20"
|
||||
|
||||
#$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
|
||||
#export PS1=$'\h:\w\$'
|
||||
|
||||
Reference in New Issue
Block a user