mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 06:11:51 +00:00
[readme] quote asterisk in shell command on --latest-npm
example
This commit is contained in:
parent
0d14d7f6b7
commit
0fad5ec575
@ -320,7 +320,7 @@ Note that reinstalling packages _explicitly does not update the npm version_ —
|
||||
To update npm at the same time add the `--latest-npm` flag, like this:
|
||||
|
||||
```sh
|
||||
nvm install lts/* --reinstall-packages-from=default --latest-npm
|
||||
nvm install 'lts/*' --reinstall-packages-from=default --latest-npm
|
||||
```
|
||||
|
||||
or, you can at any time run the following command to get the latest supported npm version on the current node version:
|
||||
|
Loading…
Reference in New Issue
Block a user