mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 19:07:48 +08:00
use case: Just configured and installed a node. benefits: 1) reduces friction when setting up a new node 2) reveals useful details about the workings of the system. It's the user's first encounter with her node's identity. The tour can build on the user's knowledge. ``` ipfs (maybebtc-november) λ. ipfs init -f initializing ipfs node at /Users/btc/.go-ipfs generating key pair peer identity: QmcRbn41Vc2CvbpLYfN36mAWusErKWvAAHbq92LPra2gFT ``` |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| add.go | ||
| block.go | ||
| bootstrap.go | ||
| cat.go | ||
| commands.go | ||
| config.go | ||
| diag.go | ||
| equinox.yaml | ||
| gen.go | ||
| init.go | ||
| ipfs.go | ||
| log.go | ||
| ls.go | ||
| Makefile | ||
| mount_darwin.go | ||
| mount_unix.go | ||
| mount_windows.go | ||
| name.go | ||
| objects.go | ||
| pin.go | ||
| publish.go | ||
| README.md | ||
| refs.go | ||
| resolve.go | ||
| run.go | ||
| serve.go | ||
| tour.go | ||
| update.go | ||
| version.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:
add <path> Add an object to ipfs.
cat <ref> Show ipfs object data.
ls <ref> List links from an object.
refs <ref> List link hashes from an object.
Tool commands:
config Manage configuration.
version Show ipfs version information.
commands List all available commands.
Advanced Commands:
mount Mount an ipfs read-only mountpoint.
Use "ipfs help <command>" for more information about a command.