Ipfs Installation On A Arch And MacOS

Ipfs Installation On A Arch And MacOS

ipfs

Inter Planetary File System.
A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.

Install ipfs

  • Arch Linux pacman -S go-ipfs Click to copy
  • macOS brew install ipfs Click to copy

Inter Planetary File System. A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.

How to use ipfs?

Below are few example commands for ipfs that you can use in the terminal.

Add a file from local to the file system, pin it and print the relative hash:
ipfs add filenameClick to copy
Add a folder and its files recursively from local to the file system and print the relative hash:
ipfs add -r folderClick to copy
Save a remote file and give it a name but not pin it:
ipfs get hash -o filenameClick to copy
Pin a remote file locally:
ipfs pin add hashClick to copy
Display pinned files:
ipfs pin lsClick to copy
Unpin a file from the local storage:
ipfs pin rm hashClick to copy
Remove unpinned files from local storage:
ipfs repo gcClick to copy
To install the latest version of ipfs in your favorite operating system just copy the ipfs installation command from above and paste it into terminal. It will download and install the latest version of ipfs 2026 package in your OS.