From c39799f4b988d9cb039a2d04d555646758edb94c Mon Sep 17 00:00:00 2001 From: klaas Date: Wed, 26 Mar 2025 21:38:03 +0100 Subject: [PATCH] install.sh aktualisiert --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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