From 807f5cdab71203cab38db593362fba77aca33b10 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 5 Sep 2023 14:01:08 +0000 Subject: [PATCH] yarn and http-server node packages are quite useful. --- one-time-stuff/install-software.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/one-time-stuff/install-software.sh b/one-time-stuff/install-software.sh index f8834ff..db0b4b2 100755 --- a/one-time-stuff/install-software.sh +++ b/one-time-stuff/install-software.sh @@ -91,6 +91,21 @@ case $node_lang in ;; esac +echo "----- Install NodeJS Apps Yarn and HttpServer -------" +read -p 'Install NodeJS Apps "yarn" and "http-server" globally? [y/N]: ' node_more +case $node_more in + [Yy]* ) + echo "----- Installing NodeJS 'yarn' globally -------------" + sudo npm install --global yarn + echo "----- Installing NodeJS 'http-server' globally ------" + sudo npm install --global http-server + echo "----- Completed NodeJS Apps -------------------------" + ;; + * ) + echo 'Skipping' + ;; +esac + echo "----- Install Go Lang -------------------------------" read -p 'Install Go Lang? [y/N]: ' go_lang case $go_lang in