brew cleanup -d -v brew install cocoapods #Note: If you see failed to link then run brew link cocoapods