'Update npm without npm
If I try to update my npm via npm update -g npm I'll get an error: npm ERR! Unexpected token '.'
Since this is a known bug: https://github.com/npm/cli/issues/4234. How do I upgrade my npm without having to use npm itself?
I am using Windows and nvm for Windows.
Versions:
PS> npm -v
8.8.0
PS> node -v
v18.1.0
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
