mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-12 11:48:07 +08:00
Move the go commands that should run under cmd/ipfs in the Makefile in cmd/ipfs rather than doing a "cd cmd/ipfs && go ..." in the root Makefile. The "cd cmd/ipfs && go ..." lines causes problems with GNU Emacs's compilation mode. With the current setup Emacs is unable to jump to the location of the error outputted by go compiler as it can not find the source file. The problem is that the embedded "cd" command causes Emacs's compilation mode to lose track of the current directory and thus attempts to look for the source file in the wrong directory. License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org> |
||
|---|---|---|
| .. | ||
| dist | ||
| .gitignore | ||
| .gobuilder.yml | ||
| daemon.go | ||
| equinox.yaml | ||
| init.go | ||
| ipfs.go | ||
| main_test.go | ||
| main.go | ||
| Makefile | ||
| README.md | ||
| ulimit_unix.go | ||
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, choose 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
