to remove your current version you could just run:
sudo gem uninstall cocoapods
you can install a specific version of cocoa pods via the following command:
sudo gem install cocoapods -v 0.25.0
You can use older installed versions with following command:
pod _0.25.0_ setup