Add a file from local to the filesystem, pin it and print the relative hash

ipfs

  • Inter Planetary File System.
    A peer-to-peer hypermedia protocol. Aims to make the web more open.
    More information: <https://ipfs.io>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ipfs add {{filename}}

click the source code to copy install ipfs on any operating system with command-not-found.com