From 49f38d4e91067e131e03b5b8c9a46b0df66a768f Mon Sep 17 00:00:00 2001 From: siepra Date: Thu, 21 Mar 2024 16:16:43 +0100 Subject: [PATCH] fix: replace nvm stuff --- aws/scripts/after-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aws/scripts/after-install.sh b/aws/scripts/after-install.sh index 0e7fbf6..4c41b92 100644 --- a/aws/scripts/after-install.sh +++ b/aws/scripts/after-install.sh @@ -1,5 +1,6 @@ -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash -source ~/.bashrc -nvm use +cd ~ +curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh +sudo bash nodesource_setup.sh +sudo apt install nodejs -y npm i