Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install node on Linux Subsystem for Windows
# this script requires root
# be sure to run the following before running this:
# $ sudo su
# since there's an issue piping the curl response to bash
# just download the install script
curl -sL >
# make it executable and run it
chmod a+x
# run apt-get for nodejs
apt-get install nodejs
# get the latest version (well, 6.x since we downloaded setup_6.x)
npm install npm@latest -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment