{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/658","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/658/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/658/events","html_url":"https://github.com/creationix/nvm/issues/658","id":57515033,"number":658,"title":"\"nvm use\" not persisting","user":{"login":"YourDeveloperFriend","id":1808286,"avatar_url":"https://avatars.githubusercontent.com/u/1808286?v=3","gravatar_id":"","url":"https://api.github.com/users/YourDeveloperFriend","html_url":"https://github.com/YourDeveloperFriend","followers_url":"https://api.github.com/users/YourDeveloperFriend/followers","following_url":"https://api.github.com/users/YourDeveloperFriend/following{/other_user}","gists_url":"https://api.github.com/users/YourDeveloperFriend/gists{/gist_id}","starred_url":"https://api.github.com/users/YourDeveloperFriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YourDeveloperFriend/subscriptions","organizations_url":"https://api.github.com/users/YourDeveloperFriend/orgs","repos_url":"https://api.github.com/users/YourDeveloperFriend/repos","events_url":"https://api.github.com/users/YourDeveloperFriend/events{/privacy}","received_events_url":"https://api.github.com/users/YourDeveloperFriend/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2015-02-12T20:30:24Z","updated_at":"2016-07-08T21:05:39Z","closed_at":"2015-02-13T19:02:57Z","body":"Sorry, I'm sure this is a duplicate, but I can't find anything in the miriad of issues. I'm running on Ubuntu 14.04, nvm version 0.23.3, and I just recently installed nvm. I used to be on `n` but I switched here in order to try out iojs, so it's possible that some residual `n` is conflicting with nvm. I removed all the node versions with `n` except 0.12.0, uninstalled `n`, installed `nvm`, and I properly sourced nvm as mentioned in issue #394. Then I ran into the following issue:\r\n\r\n```bash\r\n$ nvm current\r\nv0.12.0\r\n$ nvm install 0.10\r\n######################################################################## 100.0%\r\nNow using node v0.10.36\r\n$ nvm current # NOTE: didn't change\r\nv0.12.0\r\n$ node -v\r\nv0.12.0\r\n$ nvm use 0.10\r\nNow using node v0.10.36\r\n$ nvm current\r\nv0.12.0\r\n$ node -v\r\nv0.12.0\r\n$ nvm install iojs\r\n######################################################################## 100.0%\r\nWARNING: checksums are currently disabled for io.js\r\nNow using io.js v1.2.0\r\n$ nvm current\r\niojs-v1.2.0\r\n$ node -v # NOTE: didn't change AND different from nvm current\r\nv0.12.0\r\n```\r\n\r\nThis all works just fine when run in `sudo su`, but when I exit that shell, it doesn't permeate.\r\n\r\nMore possible clues:\r\n\r\n```bash\r\n$ nvm run 0.10 -v\r\nRunning node v0.10.36\r\nv0.12.0\r\n$ nvm exec 0.10 node -v\r\nRunning node v0.10.36\r\nv0.10.36\r\n$ nvm run iojs -v\r\nRunning io.js v1.2.0\r\nv1.2.0\r\n```\r\n\r\nNot sure how to proceed."},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/231472625","html_url":"https://github.com/creationix/nvm/issues/658#issuecomment-231472625","issue_url":"https://api.github.com/repos/creationix/nvm/issues/658","id":231472625,"user":{"login":"cornelius-k","id":5487796,"avatar_url":"https://avatars.githubusercontent.com/u/5487796?v=3","gravatar_id":"","url":"https://api.github.com/users/cornelius-k","html_url":"https://github.com/cornelius-k","followers_url":"https://api.github.com/users/cornelius-k/followers","following_url":"https://api.github.com/users/cornelius-k/following{/other_user}","gists_url":"https://api.github.com/users/cornelius-k/gists{/gist_id}","starred_url":"https://api.github.com/users/cornelius-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornelius-k/subscriptions","organizations_url":"https://api.github.com/users/cornelius-k/orgs","repos_url":"https://api.github.com/users/cornelius-k/repos","events_url":"https://api.github.com/users/cornelius-k/events{/privacy}","received_events_url":"https://api.github.com/users/cornelius-k/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T21:05:39Z","updated_at":"2016-07-08T21:05:39Z","body":"`nvm alias default 6.3.0` resolved my issue, version number being the last argument"}}
{"actor":{"display_login":"cornelius-k"}}