ipfs update
An updater tool for ipfs. Can fetch and install given versions of go-ipfs.
Installation
Requirement: Go version 1.5 or higher
go get -u github.com/ipfs/ipfs-update
Note
If you do not see the expected version listed by ipfs-update versions
. Try updating
ipfs-update
(either by the above go get
command or through gobuilder).
Contribute
Pull requests and issues are welcome! Please open them in this repository.
For more on contributing to IPFS projects, see the contribution guidelines.
Usage
version
$ ipfs-update version
Prints out the version of ipfs that is currently installed.
versions
$ ipfs-update versions
Prints out all versions of ipfs available for installation.
install
$ ipfs-update install <version>
Downloads, tests, and installs the specified version
of ipfs. The existing version is stashed in case a revert is needed.
revert
$ ipfs-update revert
Reverts to the previously installed version of ipfs. This
is useful if the newly installed version has issues and you would like to switch
back to your older stable installation.
fetch
$ ipfs-update fetch
Downloads the specified version of ipfs into your current
directory. This is a plumbing command that can be utilized in scripts or by
more advanced users.