how to install latest version of cocoapods code example Example: install cocoapods $ sudo gem install cocoapods