mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge ec30a6d594
into f38d21c529
This commit is contained in:
commit
9c41ed0b29
@ -228,6 +228,12 @@ nvm install 6 --reinstall-packages-from=5
|
||||
nvm install v4.2 --reinstall-packages-from=iojs
|
||||
```
|
||||
|
||||
If you want to simply copy t he installed packages from specific versions of Node, try `--copy-packages-from` instead of `--reinstall-packages-from` like this:
|
||||
|
||||
```sh
|
||||
nvm install 6 --copy-packages-from=5
|
||||
```
|
||||
|
||||
### io.js
|
||||
If you want to install [io.js](https://github.com/iojs/io.js/):
|
||||
|
||||
|
1
nvm.sh
1
nvm.sh
@ -2191,6 +2191,7 @@ nvm() {
|
||||
nvm_echo ' nvm --help Show this message'
|
||||
nvm_echo ' nvm --version Print out the latest released version of nvm'
|
||||
nvm_echo ' nvm install [-s] <version> Download and install a <version>, [-s] from source. Uses .nvmrc if available'
|
||||
nvm_echo ' --copy-packages-from=<version> When installing, copy packages installed from <node|iojs|node version number>'
|
||||
nvm_echo ' --reinstall-packages-from=<version> When installing, reinstall packages installed in <node|iojs|node version number>'
|
||||
nvm_echo ' --lts When installing, only select from LTS (long-term support) versions'
|
||||
nvm_echo ' --lts=<LTS name> When installing, only select from versions for a specific LTS line'
|
||||
|
Loading…
Reference in New Issue
Block a user