mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 02:30:39 +08:00
adding how to download IPFS with IPFS
Adding instructions for downloading IPFS builds with IPFS License: MIT Signed-off-by: John Reed <john@re2d.xyz>
This commit is contained in:
23
README.md
23
README.md
@ -164,10 +164,33 @@ If you make changes to the protocol buffers, you will need to install the [proto
|
|||||||
|
|
||||||
### Updating
|
### Updating
|
||||||
|
|
||||||
|
#### Updating using ipfs-update
|
||||||
IPFS has an updating tool that can be accessed through `ipfs update`. The tool is
|
IPFS has an updating tool that can be accessed through `ipfs update`. The tool is
|
||||||
not installed alongside IPFS in order to keep that logic independent of the main
|
not installed alongside IPFS in order to keep that logic independent of the main
|
||||||
codebase. To install `ipfs update`, [download it here](https://ipfs.io/ipns/dist.ipfs.io/#ipfs-update).
|
codebase. To install `ipfs update`, [download it here](https://ipfs.io/ipns/dist.ipfs.io/#ipfs-update).
|
||||||
|
|
||||||
|
#### Downloading IPFS builds using IPFS
|
||||||
|
List the available versions of go-ipfs:
|
||||||
|
```
|
||||||
|
$ ipfs cat /ipns/dist.ipfs.io/go-ipfs/versions
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, to view available builds for a version from the previous command ($VERSION):
|
||||||
|
```
|
||||||
|
$ ipfs ls /ipns/dist.ipfs.io/go-ipfs/$VERSION
|
||||||
|
```
|
||||||
|
|
||||||
|
To download a given build of a version:
|
||||||
|
```
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_darwin-386.tar.gz # darwin 32-bit build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_darwin-amd64.tar.gz # darwin 64-bit build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_freebsd-amd64.tar.gz # freebsd 64-bit build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_linux-386.tar.gz # linux 32-bit build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_linux-amd64.tar.gz # linux 64-bit build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_linux-arm.tar.gz # linux arm build
|
||||||
|
$ ipfs get /ipns/dist.ipfs.io/go-ipfs/$VERSION/go-ipfs_$VERSION_windows-amd64.zip # windows 64-bit build
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user