README.md 951 Bytes
Newer Older
Brian Tiger Chow's avatar
Brian Tiger Chow committed
1 2 3 4 5 6 7 8 9 10 11 12
# 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:

Matt Bell's avatar
Matt Bell committed
13 14 15 16
    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
Brian Tiger Chow's avatar
Brian Tiger Chow committed
17 18 19

Tool commands:

Matt Bell's avatar
Matt Bell committed
20 21 22 23
    config        Manage configuration
    update        Download and apply go-ipfs updates
    version       Show ipfs version information
    commands      List all available commands
Brian Tiger Chow's avatar
Brian Tiger Chow committed
24 25 26

Advanced Commands:

Matt Bell's avatar
Matt Bell committed
27 28 29 30 31 32 33 34 35
    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

Brian Tiger Chow's avatar
Brian Tiger Chow committed
36 37 38

Use "ipfs help <command>" for more information about a command.
```