Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save blockzilladev/d447f5609a04c4cf1d7f077bcc22cb70 to your computer and use it in GitHub Desktop.
Save blockzilladev/d447f5609a04c4cf1d7f077bcc22cb70 to your computer and use it in GitHub Desktop.
ipfs - commands
*Commands:*
Ipfs init
ipfs id
ipfs cat <ipfs_path/ref> : Displays the IPFS object data from the path
ipfs add <file_name> : Adds a file to IPFS
ipfs add -r <directory_name> : Adds all the files in the directory
ipfs get <ref> : Downloads the IPFS objects
ipfs ls <ref> : Lists the links from an object
ipfs refs <ref>
ipfs pin add <ipfs-path>
ipfs pin rm <ipfs-path>
ipfs pin ls
ipfs daemon
ipfs version
ipfs files ls
initializes ipfs in your system(need to run only once)
Show ipfs node id info
Lists the hashes of links from an object
Pin objects to local storage
Remove pinned objects from local storage
Lists all the objects of the files/folder pinned to your repo
Run a network-connected IPFS node
Returns current version of ipfs
List directories in the local mutable namespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment