Node not working in PowerShell

I am on Windows 10
I installed node 12.5.
Node installation confirmation on cmd; But node is node working in Powershell

My use case: I want to use Node in vs code powershell terminal.

Am i doing something wrong or need to do something extra?
I am searching on this from last 2 days, tried many solution but no one work.

Pardeep,
Welcome to the forum. :wave:t4:

Try to run it with its complete path and extension.

I tried this but no luck

First of all - please stop posting pictures of code. Instead post it as text formatted as code using the preformatted text button ( </> ). Simply place the cursor on an empty line, vclick the button and paste your code.

Your quotes are wrong

'C:\Program Files\nodejs\node.exe' -v
1 Like

Still same

Please stop posting pictures of code or error messages. Instead post it as text formatted as code using the preformatted text button ( </> ). Simply place the cursor on an empty line, vclick the button and paste your code.

Did you add the path to nodejs to the path environment variable during the installation? Did you restart your PowerShell console?

Just to try it I installed nodejs and ran node -v and just got the version information as expected.

1 Like

I done as you told but i got same error. So due to this issue i have to shift to new system. Thanks for help.

I don’t know what to answer. I’d suspect you need system support but this forum is not about system support. Sorry. :cry: