mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-11 15:44:19 +00:00
[readme] quote asterisk in shell command on --latest-npm example
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user