[readme] fix LTS upgrade command

Edited the LTS upgrade scenario command to fix the issue discussed in #2271
Saikat Das 2020-08-27 19:27:29 +05:30 committed by Jordan Harband
parent cf92956e5d
commit 22e07cc0c1
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ Any time your local copy of `nvm` connects to https://nodejs.org, it will re-cre
To get the latest LTS version of node and migrate your existing installed packages, use To get the latest LTS version of node and migrate your existing installed packages, use
```sh ```sh
nvm install --lts --reinstall-packages-from=current nvm install 'lts/*' --reinstall-packages-from=current
``` ```
### Migrating Global Packages While Installing ### Migrating Global Packages While Installing