Skip to content

Instantly share code, notes, and snippets.

@SBejga
Created September 19, 2017 13:15
Show Gist options
  • Save SBejga/be30ce5e302045d840e88918172f46fd to your computer and use it in GitHub Desktop.
Save SBejga/be30ce5e302045d840e88918172f46fd to your computer and use it in GitHub Desktop.
remove cocoapods from mac machine
# credits: https://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine
# remove gems
for i in $( gem list --local --no-version | grep cocoapods );
do
gem uninstall $i;
done
# Additionally delete ~/.cocoapods to remove the cache of podspecs.
rm -rf ~/.cocoapods/
echo "removed all gems and cache of cocoapods"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment