Skip to content

Instantly share code, notes, and snippets.

@taogawa
Created September 4, 2016 11:18
Show Gist options
  • Save taogawa/765a8f7348ae2855c66eeaf008dc7a6e to your computer and use it in GitHub Desktop.
Save taogawa/765a8f7348ae2855c66eeaf008dc7a6e to your computer and use it in GitHub Desktop.
Homebrew関連のtips

Homebrewで No such file or directory が出る場合

$ brew update
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory

brew prune を使う。

$ brew prune
Pruned 1 symbolic links and 3 directories from /usr/local

不要なシンボリックリンクを削除してくれる。

Homebrew Servicesを使う

$ brew tap homebrew/services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment