Skip to content

Instantly share code, notes, and snippets.

@leeola
Created July 23, 2012 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leeola/482fd29bbf3ad37393e9 to your computer and use it in GitHub Desktop.
Save leeola/482fd29bbf3ad37393e9 to your computer and use it in GitHub Desktop.
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