Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Created December 17, 2017 20:33
Show Gist options
  • Save jdmichaud/2c52dde4d01bafb8e57d8004b16ae044 to your computer and use it in GitHub Desktop.
Save jdmichaud/2c52dde4d01bafb8e57d8004b16ae044 to your computer and use it in GitHub Desktop.
apt update
apt install -y curl xz-utils less
cd
curl -sOL https://nodejs.org/dist/v8.9.3/node-v8.9.3-linux-x64.tar.xz
tar xf node-v8.9.3-linux-x64.tar.xz
(export PATH=$PATH:/root/node-v8.9.3-linux-x64/bin; npm install -g n)
(export PATH=$PATH:/root/node-v8.9.3-linux-x64/bin; n latest)
npm update -g npm
rm -fr node-v8.9.3-linux-x64
npm install -g yo
npm install -g generator-webpack-2-typescript
adduser user
su jedi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment