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