If you use Helm, there's helm-ag: https://github.com/syohex/emacs-helm-ag
Use MELPA and package manager to install the above packages: http://tuhdo.github.io/emacs-tutor3.html#sec-4-1