I used the following 4 commands
cd ~/.cocoapods/repos
git clone "https://github.com/CocoaPods/Specs" master --depth 1
cd master
git fetch --unshallow
pod setup
I took time as expected, but at least I didn't have to stair at the screen wondering whats happening in the background.