IPFS

Environment Setup


As with anything truly revolutionary, IPFS takes some getting used to. In this module, we’ll cover how to set up your own node and push / pull files from the network. Since IPFS is a new protocol, you’ll need to install their bundle so that your device will be able to communicate with other IPFS nodes.

PRE-BUILT BINARY INSTALL


Download IPFS Protocol Package

You can download the binaries for IPFS binaries on a variety of platforms. This can be used directly as demonstrated below, or a variety of other methods may be available for installation depending on your platform. For a full list of options, including building from source, see the official IPFS Installation documentation.

Mac / Linux

After downloading, untar the archive, and move the ipfs binary somewhere in your executables $PATH using the install.sh script:
tar xvfz go-ipfs.tar.gz
$ cd go-ipfs
$ ./install.sh

Test it out:
ipfs help
USAGE:
ipfs - Global p2p merkle-dag filesystem.
...

Windows

After downloading, unzip the archive, and move ipfs.exe somewhere in your %PATH%.
Test it out:
ipfs help
USAGE:
$ ipfs - Global p2p merkle-dag filesystem.
...

Congratulations! You now have a working IPFS installation on your computer. Now let’s see what it can do!