mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-16 04:02:05 +08:00

We now consider debugerrors harmful: we've run into cases where debugerror.Wrap() hid valuable error information (err == io.EOF?). I've removed them from the main code, but left them in some tests. Go errors are lacking, but unfortunately, this isn't the solution. It is possible that debugerros.New or debugerrors.Errorf should remain still (i.e. only remove debugerrors.Wrap) but we don't use these errors often enough to keep.
go-ipfs/cmd/ipfs
This is the ipfs commandline tool. For now, it's the main entry point to using IPFS.
Install from source
go install
ipfs
Install from gobuilder.me
If you're viewing this in gobuilder, chose the binary that suits you best at the end of this page. Download it, unzip it, and move the binary into place.
Usage
# initialize an ipfs node
ipfs init
# list some commands
ipfs
# get help
ipfs <subcmd> --help