How do I unpin and remove all IPFS content from my machine?

How do I unpin and remove all IPFS content from my machine?

  • I’ve tried using commands“ipfs pin ls --type recursive | cut -d’ ’ -f1 | xargs -n1 ipfs pin rm”, but it doesn’t work

屏幕截图 2023-03-18 160445

That data would be stored in the repo, so if it can’t find the repo, it can’t delete it. Either that or you already deleted the repo, and with it, all your pins and content.