mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
change Node.js install
This commit is contained in:
parent
672d3d82a5
commit
8ec659a80a
1 changed files with 3 additions and 3 deletions
|
@ -35,14 +35,14 @@ 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"
|
||||
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 "source ~/.bashrc"
|
||||
su -p -s /usr/bin/bash -c "bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh)" immich
|
||||
su -p -s /usr/bin/bash -c "source ~/.bashrc" immich
|
||||
#su immich <<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 -s /bin/bash -c "nvm install 20"
|
||||
su -p -s /usr/bin/bash -c "nvm install 20" immich
|
||||
|
||||
#$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
|
||||
#export PS1=$'\h:\w\$'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue