aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrh2017-11-10 15:47:24 +0000
committertrh2017-11-10 15:47:24 +0000
commit85d07f20bfcfe08368c7b2e3c7822c1a4e31da92 (patch)
tree950ca620a08f4c2301668884bc9697ebfdaefceb
parentinitial commit (diff)
downloadmedicine-85d07f20bfcfe08368c7b2e3c7822c1a4e31da92.tar.gz
medicine-85d07f20bfcfe08368c7b2e3c7822c1a4e31da92.zip

added bash script to install nvm and nodejs v9.1.0

-rwxr-xr-xgetmenode.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/getmenode.sh b/getmenode.sh
new file mode 100755
index 0000000..5c724e7
--- /dev/null
+++ b/getmenode.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+nvm install v9.1.0