Skip to content

Instantly share code, notes, and snippets.

@DevWouter
Created December 13, 2021 08:15
Show Gist options
  • Save DevWouter/b074009a01ddec4a3b3d61ec931e18a9 to your computer and use it in GitHub Desktop.
Save DevWouter/b074009a01ddec4a3b3d61ec931e18a9 to your computer and use it in GitHub Desktop.

Installing node on WSL

  1. Install WSL and ubuntu (from the windows store)
  2. Run the WSL
  3. Install NVM (see: https://github.com/nvm-sh/nvm
  4. Restart the session
  5. Run nvm install --lts node

In the event you forgot your password

# Powershell
wsl --d Ubuntu --user root
# BashShell
passwd <your-username>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment