how to update cocoapods in terminal code example Example: how to install pod $ sudo gem install cocoapods