Created
December 23, 2017 21:21
-
-
Save Kikobeats/a42114f0bc329462d594428f33360e85 to your computer and use it in GitHub Desktop.
up + micro + node8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NODE_BIN=`curl -sL https://semver.io/node/resolve/8`-linux-x64 | |
echo "Downloading $NODE_BIN binary file" | |
curl -sL https://nodejs.org/dist/latest-v8.x/node-v$NODE_BIN.tar.gz | tar -xz | |
mkdir -p bin | |
mv node-v$NODE_BIN/bin/node bin/node | |
rm -rf node-v$NODE_BIN | |
echo "Added \`bin/node\` as node-v$NODE_BIN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment