Skip to content

Instantly share code, notes, and snippets.

View smhz101's full-sized avatar

Muzammil Hussain smhz101

View GitHub Profile
@smhz101
smhz101 / README.md
Last active August 24, 2018 05:03
Remove Nodejs Completely from macOS Seirra

Remove Nodejs Completely from macOS Seirra

To run this, you can try:

  • $ curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
  • $ chmod +x ./uninstall-node.sh
  • $ ./uninstall-node.sh
  • $ rm uninstall-node.sh

Uninstall via HomeBrew

  • $ brew uninstall mysql
  • $ brew doctor
  • $ brew prune
  • $ brew cleanup

Manually remove mysql from macOS Sierra

Search if mysql is currently running in background:

  • $ ps -ax | grep mysql
@smhz101
smhz101 / Install HomeBrew on macOS Sierra.md
Last active August 23, 2018 12:28
Install HomeBrew on macOS Sierra

Install Homebrew

Installing Homebrew is effortless, open Terminal and enter:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Unfortunately you can no longer chown /usr/local in High Sierra

$ sudo chown -R $(whoami) $(brew --prefix)/*

Uninstall Homebrew

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"