diff options
| author | trh | 2017-11-10 15:47:24 +0000 |
|---|---|---|
| committer | trh | 2017-11-10 15:47:24 +0000 |
| commit | 85d07f20bfcfe08368c7b2e3c7822c1a4e31da92 (patch) | |
| tree | 950ca620a08f4c2301668884bc9697ebfdaefceb /getmenode.sh | |
| parent | initial commit (diff) | |
| download | medicine-85d07f20bfcfe08368c7b2e3c7822c1a4e31da92.tar.gz medicine-85d07f20bfcfe08368c7b2e3c7822c1a4e31da92.zip | |
added bash script to install nvm and nodejs v9.1.0
Diffstat (limited to 'getmenode.sh')
| -rwxr-xr-x | getmenode.sh | 6 |
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 |
