Tuesday, 1 August 2017

Different version of Node when in Windows terminal or BASH/WSL. How do I reconcile them?

I am on Win 10 and installed Node using the installer on their site. But using BASH/WSL for Windows when I typed nodejs --version it said it was not installed. So I used sudo apt install nodejs which installed v4.2.6Now if I open the regular Win terminal and type node -v it says v8.2.1. It also installed npm with it which I need.So I need to know how to get node (and also npm) to work when in BASH/WSL terminal in Windows. Help please?

Submitted August 01, 2017 at 06:44PM by mayaswelltrythis

No comments:

Post a Comment