{"id":619,"date":"2017-12-06T14:30:55","date_gmt":"2017-12-06T09:00:55","guid":{"rendered":"http:\/\/www.cyberaka.com\/?p=619"},"modified":"2017-12-06T14:32:04","modified_gmt":"2017-12-06T09:02:04","slug":"uninstalling-and-reinstalling-brew","status":"publish","type":"post","link":"https:\/\/www.cyberaka.com\/?p=619","title":{"rendered":"Uninstalling and reinstalling brew"},"content":{"rendered":"<p>I use brew utility for all my terminal based installation needs. However recently I had to deal with a corrupted brew install. To fix this I followed <a href=\"https:\/\/zanshin.net\/2012\/07\/31\/uninstalling-brew-to-re-install-brew\/\">this link<\/a>. The uninstallation and reinstallation worked fine and I now have a working brew instance.<\/p>\n<p>The commands as mentioned in the above link are:<\/p>\n<p>$ cd `brew &#8211;prefix`<br \/>\n$ rm -rf Cellar<br \/>\n$ brew prune<br \/>\n$ rm -rf Library .git .gitignore bin\/brew README.md share\/man\/man1\/brew<br \/>\n$ rm -rf ~\/Library\/Caches\/Homebrew<br \/>\n$ ruby -e &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&#8221;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use brew utility for all my terminal based installation needs. However recently I had to deal with a corrupted brew install. To fix this I followed this link. The uninstallation and reinstallation worked fine and I now have a working brew instance. The commands as mentioned in the above link are: $ cd `brew [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,24],"tags":[],"class_list":["post-619","post","type-post","status-publish","format-standard","hentry","category-mac-os","category-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=619"}],"version-history":[{"count":3,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/619\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/619\/revisions\/622"}],"wp:attachment":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}