- Install in the way described here: https://ipfs.io/docs/install/
- Set
IPFS_PATH
variable to host files somewhere you have enough space.
$ echo 'export IPFS_PATH=/media/mohamadaliakbari/Storage/.ipfs' >> $HOME/.bashrc
- Initiate IPFS and run deamon: https://ipfs.io/docs/getting-started/
$ ipfs init
$ ipfs daemon
- Check your peers.
$ ipfs swarm peers
- Simple usage: get an object from network.
$ ipfs cat /ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg >cat.jpg