Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\\Users\\User>node -v
v0.8.16
C:\\Users\\User>npm cache clean -f
C:\\Users\\User>npm install -g n
npm http GET https://registry.npmjs.org/n
npm http 200 https://registry.npmjs.org/n
npm http GET https://registry.npmjs.org/n/-/n-1.2.1.tgz
npm http 200 https://registry.npmjs.org/n/-/n-1.2.1.tgz
C:\\Users\\User\\AppData\\Roaming\
pm\
-> C:\\Users\\User\\AppData\\Roaming\
pm\
ode_mo
dules\
\\bin\
n@1.2.1 C:\\Users\\User\\AppData\\Roaming\
pm\
ode_modules\
C:\\Users\\User>n stable
'bash' is not recognized as an internal or external command,
operable program or batch file.
C:\\Users\\User>cd C:\\Users\\User\\AppData\\Roaming\
pm\
ode_modules\
C:\\Users\\User\\AppData\\Roaming\
pm\
ode_modules\
>n stable
'bash' is not recognized as an internal or external command,
operable program or batch file.
C:\\Users\\User\\AppData\\Roaming\
pm\
ode_modules\
>
As far as I know, to upgrade a Windows installation of Node, you can just download and run the latest installer from the website. I’ve gone a quick Google search and it’s not clear whether the n module works on windows or not… I know there are some modules which are Mac/Linux only.
I HAVE TO CHOOSE INSTALLATION DIR THE OLD DIR to replace? can have two nodejs installs one in Program Files/nodejs and another in Program Files (x86)/nodejs? the fact that nodejs installed in Program Files (x86)/nodejs the “(x86)” do any problem in upgrade (not reinstall)??
I would just overwrite one with the other.
Two competing installations of the same program is never a good idea (in these cases you normally need some kind of version manager).
As I said in my first post, I’m not overly familaiar with node.js and I’m also running Linux, so maybe I’m not the best person to advise you. @fretburner ; any ideas?
If your existing Node install is in \\Program Files (x86)\ odejs then you can install a later x86 version over the top. However, if you want to upgrade to the 64-bit version, I’d recommend uninstalling your existing version first and install the new one under \\Program Files, as that’s the proper location for 64-bit programs.