install cocoapods

Shell
$ sudo gem install cocoapods

Source

Also in Shell: