Macの下にHomeBrewとAg(the silver searcher)をインストールします。
HomeBrew
Homebrew(またはMacPorts)はLinuxプラットフォームの下のyumとap-getのようなツールで、優れたバッグ管理ツールです。ここでHomebrewを選びました。
Homebrewについて、ここをスタンプします。http://brew.sh/index_zh-cn.html
セットアップスクリプト(MacはRubyが付いていますので、インストールは必要ありません。)
インストール済みのカバンを確認します
The Silver Searcher is a tool for searching code.It started off as a clone of Ack,but their feature sets have since diverged slight.In typical use,Ag is 5-10 x faster than Ack.See the GitHuble forckはここをクリックします。http://geoff.greer.fm/ag/
ag(the silver searcher)をインストールします。
Homebrew(またはMacPorts)はLinuxプラットフォームの下のyumとap-getのようなツールで、優れたバッグ管理ツールです。ここでHomebrewを選びました。
Homebrewについて、ここをスタンプします。http://brew.sh/index_zh-cn.html
セットアップスクリプト(MacはRubyが付いていますので、インストールは必要ありません。)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
アップグレードbrewbrew update
brew//をアンインストールしますインストール済みのカバンを確認します
brew list
The Silver SearcherThe Silver Searcher is a tool for searching code.It started off as a clone of Ack,but their feature sets have since diverged slight.In typical use,Ag is 5-10 x faster than Ack.See the GitHuble forckはここをクリックします。http://geoff.greer.fm/ag/
ag(the silver searcher)をインストールします。
brew install the_silver_searcher
アンマウントagbrew uninstall the_silver_searcher
権限の問題があれば、cannot writeなどでいいです。sudo chown -R David /usr/local
私はアゴを取り付ける時、errorが現れました。「/usr/local/bin is not writable」sudo chown -R David /usr/local/bin
sudo chown -R David /usr/local/share
brew install the usilverarher Warning:the the usilverher-00030 already installed、it’s just linkedができます。brew link the_silver_searcher