I can't use npm --version in windows 11. Is there a way to fix this?

Asked 2 years ago

I'm a newbie to web development and I'm having a bit of a hard time determining my version of npm. If I write npm --version in my terminal, I get an error message. Does it have to do with Windows 11? Thanks.

Cohen Murphy

Thursday, October 13, 2022

npm --version might get ignored as a command, so it's not a problem with your Windows version. Instead, you just need to type npm -v in the terminal. If you don't see the version, you probably don't have npm installed.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?