install npm 3
This commit is contained in:
parent
a30167280d
commit
46a9aa638a
|
@ -172,7 +172,7 @@ read answer
|
|||
if [[ "$answer" == "y" ]]; then
|
||||
su - $username -c '\
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
|
||||
export NVM_DIR="$HOME/.nvm" &&\
|
||||
export NVM_DIR="/home/${username}/.nvm" &&\
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" &&\
|
||||
nvm install v18'
|
||||
|
|
Loading…
Reference in New Issue