diff --git a/install.sh b/install.sh index 78ff837..7905513 100644 --- a/install.sh +++ b/install.sh @@ -54,8 +54,8 @@ clear echo "Installiere nodeJS" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash -source ~/.bashrc -sh ~/.nvm/nvm.sh +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" nvm install v20 # usefull packages für nodeJS