Skip to content

Instantly share code, notes, and snippets.

@erichnascimento
Last active October 30, 2018 22:58
Show Gist options
  • Save erichnascimento/372fe31f824d3a86c86357415d5505db to your computer and use it in GitHub Desktop.
Save erichnascimento/372fe31f824d3a86c86357415d5505db to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Install Nodejs
curl https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.xz -O \
&& tar xf node-v8.12.0-linux-x64.tar.xz \
&& cp -R node-v8.12.0-linux-x64/* /usr/local \
&& rm -rf node-v8.12.0-linux-x64 \
&& rm -f node-v8.12.0-linux-x64.tar.xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment