2019年12月4日 星期三

homebrew

command

  • brew help
  • brew update
  • brew upgrade
  • brew search
  • brew list
  • brew info
  • brew install
  • brew uninstall

Services

brew services list //list all services
brew services start redis
brew serivces stop redis

問題

安裝某個formula 之後,執行發生 command not found

brew需要寫入某些自己的資料夾,
如果裡面有檔案是owner是root,會出錯。
把/usr/local下,所有brew 開頭資料夾,裡面的檔案, owner 改成自己,並且加上 R 屬性。

沒有留言:

張貼留言