Installing nodejs and npm on MSYS2

Ivan picture Ivan · Sep 28, 2017 · Viewed 7.5k times · Source

My OS is win7, and I using MSYS2(version:MSYS_NT-6.1), Please give advice how to install nodejs and npm on this terminal, Thanks!

Answer

Ivan picture Ivan · Oct 8, 2017

I found a solution for resolving the problem,

64bit env.

pacman -S mingw-w64-x86_64-nodejs

32bit env.

pacman -S mingw-w64-i686-nodejs

after installed, Open terminal

$ node -v
v6.11.0