npm install js-ipfs-dep --save
Warning: The binary gets put in the pkg
folder inside the module folder.
Currently only tested for ipfs 0.34.4, v0.35.0-rc.0, v0.38.0
But it can be specified in package.json
.
Modify the ipfs version, eg:
"ipfs": "v0.35.0-rc.0",
The binary is compiled against your current platform/node version eg. node8-linux-x64