Install the latest go-ipfs binary
Last updated 3 years ago by haad .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @haad/go-ipfs-dep 
SYNC missed versions from official npm registry.

Install go-ipfs from npm as a dependency of your project

Dependency Status

Install the latest go-ipfs binary from http://dist.ipfs.io


npm install go-ipfs --save

See IPFS getting-started. If anything goes wrong, try using: http://ipfs.io/docs/install.


Warning: The binary gets put in the go-ipfs folder inside the module folder.

Which go-ipfs version this package downloads?

Can be specified in package.json with a field go-ipfs.version, eg:

"go-ipfs": {
  "version": "v0.4.5-pre1"

Using local IPFS daemon as the package download url

Can be specified in package.json with a field go-ipfs.version, eg:

"go-ipfs": {
  "version": "v0.4.5-pre1",
  "distUrl": "http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL"

Where QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL is the root of the distributions web site.

Or when run with node src/bin.js, the dist url can be passed via an environment variable GO_IPFS_DIST_URL, eg:

GO_IPFS_DIST_URL=http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL node binsrc/bin.js


When used via node src/bin.js, you can specify the target platform, version and architecture via environment variables:


See: Supported Platforms for possible values.


See: Supported Versions for possible values.


See: Supported Architectures for possible values.

Or via command line arguments in the order of:

node src/bin.js <version> <platform> <architecture> <install directory>
node src/bin.js v0.4.5-pre1 linux amd64 ./go-ipfs


For programmatic usage, see https://github.com/haadcode/go-ipfs-dep/blob/master/src/index.js#L18

Current Tags

  • 0.4.5-beta.11                                ...           latest (3 years ago)

13 Versions

  • 0.4.5-beta.11                                ...           3 years ago
  • 0.4.5-beta.10                                ...           3 years ago
  • 0.4.5-beta.9                                ...           3 years ago
  • 0.4.5-beta.8                                ...           3 years ago
  • 0.4.5-beta.7                                ...           3 years ago
  • 0.4.5-beta.5                                ...           4 years ago
  • 0.4.5-beta.4                                ...           4 years ago
  • 0.4.5-beta.3                                ...           4 years ago
  • 0.4.5-beta.2                                ...           4 years ago
  • 0.4.5-beta.1                                ...           4 years ago
  • 0.4.5-pre2                                ...           4 years ago
  • 0.4.5-pre1                                ...           4 years ago
  • 0.4.5-rc1                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 13
Last Month 13
Dependencies (6)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |