From 3543cd5d2f1cf83e693db45b057a686c0b8b0e96 Mon Sep 17 00:00:00 2001 From: Rey Bango Date: Tue, 4 Aug 2015 15:19:38 -0400 Subject: [PATCH] Updated usage instructions to include --reinstall-packages-from syntax and example --- README.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.markdown b/README.markdown index d8d8a37..af4b882 100644 --- a/README.markdown +++ b/README.markdown @@ -76,6 +76,11 @@ In place of a version pointer like "0.10", you can use the special default alias nvm use stable nvm run unstable --version +If you want to install a new version of Node.js and migrate packages from a previous version: + + nvm install v0.10.40 --reinstall-packages-from=0.10.39 + nvm install v0.12.7 --reinstall-packages-from=0.12.6 + If you want to install [io.js](https://github.com/iojs/io.js/): nvm install iojs