# 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 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 ipfs ls /bar ipfs cat /baz ipfs cat /bar/baz ipfs cat /bar ipfs ls /baz References: ipfs refs ipfs refs -r ipfs refs --help Get: ipfs get -o foo2 diff foo foo2 Objects: ipfs object get ipfs object get /foo2 ipfs object --help Pin + GC: ipfs pin add ipfs repo gc ipfs ls ipfs pin rm ipfs repo gc Daemon: ipfs daemon (in another terminal) ipfs id Network: (must be online) ipfs swarm peers ipfs id ipfs cat Mount: (warning: fuse is finicky!) ipfs mount cd /ipfs/ 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