linux-ag命令

ag命令

ag的安装

macOS

1
2
3
brew install the_silver_searcher
or
port install the_silver_searcher

Linux

  • Ubuntu
1
apt-get install silversearcher-ag
  • Arch
1
2
pacman -S the_silver_searcher
zypper install the_silver_searcher
  • CentOS
1
yum install the_silver_searcher

Windows

1
2
3
4
5
Win32/64
Unofficial daily builds are available.

winget
winget install "The Silver Searcher"

源码下载

1
git clone https://github.com/ggreer/the_silver_searcher.git