Note that the latest available version may not be stable (i.e. release candidates
in the form vX.X.X-rcX). So it is recommended to specify the version you want
to install, for example: ipfs-update install v0.4.6.

Building from Source

Warning: In the past you could install IPFS using go get. This
does not work anymore!

If you want, you can also build IPFS from source.
If you are on Mac OS X or Linux take a look at the readme for install instructions.
If you are on Windows take a look at this document for instructions.

Upgrading IPFS

ipfs upgrades (and downgrades) may involve a repository upgrade process performed by the
fs-repo-migrations tool.

Upgrading using ipfs-update

ipfs-update install will download and run fs-repo-migrations when needed, during the installation of
a newer or older ipfs version (as explained above). This is the easiest way of upgrading.

Warning: Make sure that the ipfs daemon is not running during an upgrade

Upgrading manually

In order to perform a manual upgrade of ipfs, you will need to manually run any repository migrations. The
procedure is as follows:

When a repository migration is necessary, ipfs will inform the user, download and install fs-repo-migrations
and perform the upgrade. If you wish the procedure to happen unattended, launch the daemon with the --migrate
flag.