Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFernando Jimenez
Courses Plus Student 8,455 Pointsso I am running a windows and I already installed node js. When I run ' which node" on my cmd is not recognized.
It does work if I run node -v it returns v10.6.0
same for npm -v
does that mean that it is installed? is 'which ' only for Unix systems?
2 Answers
KRIS NIKOLAISEN
54,971 PointsYes which is Unix only:
https://en.wikipedia.org/wiki/Which_(Unix)
For an equivalent in Windows you can use where
C:\WINDOWS\system32>where node
C:\Program Files\nodejs\node.exe
BERYL YOUNG
UX Design Techdegree Graduate 39,697 PointsYes you have successfully installed node. You've used the right command node -v to check which version you have.