-
-
Save leeola/482fd29bbf3ad37393e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lee@work:~$ ls | |
projects test.js | |
lee@work:~$ ./test.js | |
Hello from inside test.js, and i am running version: v0.7.2 | |
lee@work:~$ which node | |
/home/lee/.nvm/v0.7.2/bin/node | |
lee@work:~$ nvm use v0.6.18 | |
Now using node v0.6.18 | |
lee@work:~$ ./test.js | |
Hello from inside test.js, and i am running version: v0.6.18 | |
lee@work:~$ which node | |
/home/lee/.nvm/v0.6.18/bin/node | |
lee@work:~$ nvm run v0.7.2 ./test.js | |
Running node v0.7.2 | |
Hello from inside test.js, and i am running version: v0.7.2 | |
lee@work:~$ which node | |
/home/lee/.nvm/v0.6.18/bin/node | |
lee@work:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment