mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 12:57:44 +08:00
TODO use a writer to get the command output resulting appearance: ``` go-ipfs (feat/machine-readable-logging) λ. make install_2; ipfs2 init -f cd cmd/ipfs2 && go install initializing ipfs node at /Users/btc/.go-ipfs generating key pair... peer identity: %s QmcPLgrqfvnneJ3vr3oGpkTiS9Psx8p3HxevjnoZYToDRm ``` License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| daemon.go | ||
| equinox.yaml | ||
| init.go | ||
| ipfs.go | ||
| ipfsHandler.go | ||
| main_test.go | ||
| main.go | ||
| Makefile | ||
| README.md | ||
| tour_test.go | ||
| tour.go | ||
go-ipfs/cmd/ipfs
This is the ipfs commandline tool. For now, it's the main entry point to using IPFS. Use it.
> go build
> go install
> ipfs
ipfs - global versioned p2p merkledag file system
Basic commands:
init Initialize ipfs local configurationx
add <path> Add an object to ipfs
cat <ref> Show ipfs object data
ls <ref> List links from an object
Tool commands:
config Manage configuration
update Download and apply go-ipfs updates
version Show ipfs version information
commands List all available commands
Advanced Commands:
mount Mount an ipfs read-only mountpoint
serve Serve an interface to ipfs
diag Print diagnostics
Plumbing commands:
block Interact with raw blocks in the datastore
object Interact with raw dag nodes
Use "ipfs help <command>" for more information about a command.