{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/1139","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1139/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1139/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1139/events","html_url":"https://github.com/yarnpkg/yarn/issues/1139","id":183322528,"number":1139,"title":"yarn self-update should update using the same installation method originally used","user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars1.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"labels":[{"id":458577783,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/enhancement","name":"enhancement","color":"006b75","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-10-17T04:19:45Z","updated_at":"2017-03-10T16:10:11Z","closed_at":null,"body":"**Do you want to request a _feature_ or report a _bug_?**\nFeature\n\n**What is the current behavior?**\n`yarn self-update` always downloads a tarball.\n\n**What is the expected behavior?**\n`yarn self-update` should update using the same installation method used by the user. For example, if Yarn was installed via the Debian/Ubuntu package, `yarn self-update` should run `sudo apt-get update && sudo apt-get install yarn`. On Windows when installed via the installer, it should download `https://yarnpkg.com/latest.msi` and execute it.\n\nThis is closely related to #1138 (\"add yarn version check on startup\") in that both issues need some way of  determining the installation method used by the user.\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/285710066","html_url":"https://github.com/yarnpkg/yarn/issues/1139#issuecomment-285710066","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1139","id":285710066,"user":{"login":"kristojorg","id":4398775,"avatar_url":"https://avatars1.githubusercontent.com/u/4398775?v=3","gravatar_id":"","url":"https://api.github.com/users/kristojorg","html_url":"https://github.com/kristojorg","followers_url":"https://api.github.com/users/kristojorg/followers","following_url":"https://api.github.com/users/kristojorg/following{/other_user}","gists_url":"https://api.github.com/users/kristojorg/gists{/gist_id}","starred_url":"https://api.github.com/users/kristojorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristojorg/subscriptions","organizations_url":"https://api.github.com/users/kristojorg/orgs","repos_url":"https://api.github.com/users/kristojorg/repos","events_url":"https://api.github.com/users/kristojorg/events{/privacy}","received_events_url":"https://api.github.com/users/kristojorg/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T16:10:11Z","updated_at":"2017-03-10T16:10:11Z","body":"I have tried updating manually through homebrew, but when I type `yarn --version` it is still showing 19.0. I am now trying to uninstall, but seemingly also cannot do that... `yarn --version` still shows 19.0 after a `brew uninstall yarn`.  I also tried `npm uninstall yarn` with no luck either.\r\n\r\nCan you tell me what I need to delete in order to have yarn completely uninstalled so I can reinstall with the newer version?"}}
{"actor":{"display_login":"kristojorg"}}