6

I know this is something confusing. but

node --version
v5.2.0

and

nodejs --version
v0.10.25  

gives different versions? What is the difference between them?

2
  • 1
    Is it just perhaps an alias on your machine that points to a different installation of node? Commented Jan 28, 2016 at 13:10
  • which node, vs which nodejs Commented Jan 28, 2016 at 13:49

2 Answers 2

1

You probably installed node as a not-clean installation, and instead of upgrading the node version on your computer, you've added a different version and kept the old one. Installing 32bit/64bit versions might explain this as well.

If you want to get everything in order, go to Add/Remove programs, remove all your node versions, make sure nothing is left in Program Files / Program Files (x86) and install a clean installation.

Sign up to request clarification or add additional context in comments.

1 Comment

Even its the same for me both different versions
1

Usually, you have NodeJS once not twice like you.

I recommend you to uninstall and retry a clean install: https://nodejs.org/en/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.