ipfs Command Examples

Inter Planetary File System. A peer-to-peer hypermedia protocol. Aims to make the web more open. More information: https://ipfs.io.

ipfs add {{path/to/file}}

ipfs add -r {{path/to/directory}}

ipfs get {{hash}} -o {{path/to/file}}

ipfs pin add {{hash}}

ipfs pin ls

ipfs pin rm {{hash}}

ipfs repo gc