mirror of https://github.com/tteck/Proxmox.git
change Node.js install
This commit is contained in:
parent
b42ad9773b
commit
4d3033028f
|
@ -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\$'
|
||||
|
|
Loading…
Reference in New Issue