Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node executable not found while using node version manager for windows

Tags:

node.js

nvm

For node version management in windows I have used nvm-windows.

As per steps mentioned in documentation executed the following command,

To Install Node.js v8

nvm install 8.9.4

To use it as default version,

nvm use 8.9.4

After setting up nodejs v8 as default version, When i tried to verify the node js version using command (node -v). Am getting error as Node is not recognized as an internal or external command

I didn't got any error while installing node, but "node" is not recognized.

Note: Am running my command prompt as Adminstrator, NVM environment variables properties are,

  1. NVM_HOME - C:\Users\USER_NAME\AppData\Roaming\nvm

  2. NVM_SYMLINK - C:\Program Files\nodejs

When I checked the folder C:\Program Files\nodejs, The folder is empty, None of the node executable files was found.

like image 950
Ashok JayaPrakash Avatar asked Jul 26 '26 03:07

Ashok JayaPrakash


1 Answers

Type the below command in cmd to get version info

nvm list

Here is an perfect tutorial for you to run and see how nvm runs in cmd in windows. https://medium.com/appseed-io/how-to-run-multiple-versions-of-node-js-with-nvm-for-windows-ffbe5c7a2b47

like image 149
krishank Tripathi Avatar answered Jul 27 '26 18:07

krishank Tripathi