Difference between revisions of "Quick-start"
Jump to navigation
Jump to search
Line 118: | Line 118: | ||
− | {{ipfs}} | + | == See also == |
+ | * {{ipfs}} | ||
+ | * {{IPFS}} | ||
+ | |||
+ | [[Category:IPFS]] |
Latest revision as of 08:32, 3 May 2023
ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/quick-start
# 0.1 - Quick Start This is a set of short examples with minimal explanation. It is meant as a "quick start". Add a file to ipfs: echo "hello world" >hello ipfs add hello
View it: ipfs cat <the-hash-you-got-here> Try a directory: mkdir foo mkdir foo/bar echo "baz" > foo/baz echo "baz" > foo/bar/baz ipfs add -r foo View things: ipfs ls <the-hash-here> ipfs ls <the-hash-here>/bar ipfs cat <the-hash-here>/baz ipfs cat <the-hash-here>/bar/baz ipfs cat <the-hash-here>/bar ipfs ls <the-hash-here>/baz References: ipfs refs <the-hash-here> ipfs refs -r <the-hash-here> ipfs refs --help Get: ipfs get <the-hash-here> -o foo2 diff foo foo2 Objects: ipfs object get <the-hash-here> ipfs object get <the-hash-here>/foo2 ipfs object --help Pin + GC: ipfs pin add <the-hash-here> ipfs repo gc ipfs ls <the-hash-here> ipfs pin rm <the-hash-here> ipfs repo gc Daemon: ipfs daemon (in another terminal) ipfs id Network: (must be online) ipfs swarm peers ipfs id ipfs cat <hash-of-remote-object> Mount: (warning: fuse is finicky!) ipfs mount cd /ipfs/<the-hash-here> ls Tool: ipfs version ipfs update ipfs commands ipfs config --help open http://localhost:5001/webui Browse: WebUI: http://localhost:5001/webui video: http://localhost:8080/ipfs/QmVc6zuAneKJzicnJpfrqCH9gSy6bz54JhcypfJYhGUFQu/play#/ipfs/QmTKZgRNwDNZwHtJSjCp6r5FYefzpULfy37JvMt9DwvXse images: http://localhost:8080/ipfs/QmZpc3HvfjEXvLWGQPWbHk3AjD5j8NEN4gmFN8Jmrd5g83/cs markdown renderer app: http://localhost:8080/ipfs/QmX7M9CiYXjVeFnkfVGf3y5ixTZ2ACeSGyL1vBJY1HvQPp/mdown
See also[edit]
ipfs [ init | add | daemon ]
, 5001, ~/.ipfs,fs-repo-migrations
- IPFS, Protocol Labs, Filecoin (FIL), Juan Benet, IPFS Gateway, DNSlink, Universal Gateway, IPNS, IPFS node, Kubo,
fs-repo-migrations
, ipns, Dweb.link
Advertising: